ChannelAccount interface

路由消息所需的通道帐户信息

属性

aadObjectId

此帐户的对象 ID 在 Azure Active Directory (AAD)

id

此通道上的用户或机器人的通道 ID (示例: joe@smith.com、 或 @joesmith 123456)

name

显示友好名称

role

帐户背后的实体角色 (示例:用户、机器人等) 。 可能的值包括:“user”、“bot”、“skill”

属性详细信息

aadObjectId

此帐户的对象 ID 在 Azure Active Directory (AAD)

aadObjectId?: string

属性值

string

id

此通道上的用户或机器人的通道 ID (示例: joe@smith.com、 或 @joesmith 123456)

id: string

属性值

string

name

显示友好名称

name: string

属性值

string

role

帐户背后的实体角色 (示例:用户、机器人等) 。 可能的值包括:“user”、“bot”、“skill”

role?: RoleTypes | string

属性值

RoleTypes | string