ChannelAccount interface

Channel account information needed to route a message

Properties

aadObjectId

This account's object ID within Azure Active Directory (AAD)

id

Channel id for the user or bot on this channel (Example: joe@smith.com, or @joesmith or 123456)

name

Display friendly name

role

Role of the entity behind the account (Example: User, Bot, etc.). Possible values include: 'user', 'bot', 'skill'

Property Details

aadObjectId

This account's object ID within Azure Active Directory (AAD)

aadObjectId?: string

Property Value

string

id

Channel id for the user or bot on this channel (Example: joe@smith.com, or @joesmith or 123456)

id: string

Property Value

string

name

Display friendly name

name: string

Property Value

string

role

Role of the entity behind the account (Example: User, Bot, etc.). Possible values include: 'user', 'bot', 'skill'

role?: RoleTypes | string

Property Value

RoleTypes | string