Share via


ChannelAccount Class

Channel account information needed to route a message.

Constructor

pydantic model ChannelAccount

Parameters

Name Description
id
Required
str

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

name
Required
str

Display friendly name

aad_object_id
Required
str

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

role
Required

Role of the entity behind the account

Keyword-Only Parameters

Name Description
id
Default value: None
name
Default value: None
aadObjectId
Default value: None
role
Default value: None
agenticUserId
Default value: None
agenticAppId
Default value: None
tenantId
Default value: None

Attributes

properties

Returns the set of properties that are not None.

aad_object_id

field aad_object_id: str | None = None (alias 'aadObjectId')

agentic_app_id

field agentic_app_id: str | None = None (alias 'agenticAppId')

agentic_user_id

field agentic_user_id: str | None = None (alias 'agenticUserId')

id

field id: str = None

name

field name: str = None

role

field role: str | None = None

tenant_id

field tenant_id: str | None = None (alias 'tenantId')