ChannelAccount Class

Definition

Channel account information needed to route a message.

C#
public class ChannelAccount
Inheritance
ChannelAccount
Derived

Constructors

ChannelAccount()

Initializes a new instance of ChannelAccount.

ChannelAccount(String, String, String, String)

Initializes a new instance of ChannelAccount.

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.

Properties

Gets properties that are not otherwise defined by the ChannelAccount type but that might appear in the REST JSON object.

Role

Role of the entity behind the account (Example: User, Bot, etc.).

Applies to

Producto Versiones
Microsoft 365 Agents SDK .NET 1