Share via


ChatParticipant interface

A participant of the chat thread.

Properties

displayName

Display name for the chat participant.

id

Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.

metadata

metadata

shareHistoryTime

Time from which the chat history is shared with the participant. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

Property Details

displayName

Display name for the chat participant.

displayName?: string

Property Value

string

id

Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.

id: CommunicationIdentifier

Property Value

metadata

metadata

metadata?: Record<string, string>

Property Value

Record<string, string>

shareHistoryTime

Time from which the chat history is shared with the participant. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

shareHistoryTime?: Date

Property Value

Date