你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ChatParticipant Class

A participant of the chat thread.

All required parameters must be populated in order to send to Azure.

Constructor

ChatParticipant(*, identifier: CommunicationIdentifier, display_name: str | None = None, share_history_time: datetime | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
identifier

Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model is polymorphic: Apart from kind and rawId, at most one further property may be set which must match the kind enum value. Required.

display_name
str or None

Display name for the chat participant.

Default value: None
share_history_time

Time from which the chat history is shared with the participant.

Default value: None

Variables

Name Description
identifier

Required. The communication identifier.

display_name
str or None

Display name for the chat thread participant.

share_history_time

Time from which the chat history is shared with the participant.