Share via


ChannelAccount Class

Definition

Channel account information needed to route a message.

public class ChannelAccount
type ChannelAccount = class
Public Class ChannelAccount
Inheritance
ChannelAccount
Derived

Constructors

ChannelAccount()

Initializes a new instance of the ChannelAccount class.

ChannelAccount(String, String, String, String)

Initializes a new instance of the ChannelAccount class.

Properties

AadObjectId

Gets or sets this account's object ID within Azure Active Directory (AAD).

Id

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

Name

Gets or sets display friendly name.

Properties

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

Role

Gets or sets role of the entity behind the account (Example: User, Bot, etc.). Possible values include: 'user', 'bot'.

Applies to