다음을 통해 공유


ChatMessageContent interface

채팅 메시지의 콘텐츠입니다.

속성

attachments

이 메시지의 첨부 파일 목록

initiator

Azure Communication Services의 참가자를 식별합니다. 예를 들어 참가자는 전화 번호 또는 Azure 통신 사용자입니다. 이 모델은 공용 구조체로 해석되어야 합니다. rawId를 제외하고 최대 하나의 추가 속성을 설정할 수 있습니다.

message

텍스트 또는 html 형식의 메시지에 대한 채팅 메시지 콘텐츠입니다.

participants

참가자 또는 참가자Removed 유형의 메시지에 대한 채팅 메시지 콘텐츠입니다.

topic

topicUpdated 유형의 메시지에 대한 채팅 메시지 콘텐츠입니다.

속성 세부 정보

attachments

이 메시지의 첨부 파일 목록

attachments?: ChatAttachment[]

속성 값

initiator

Azure Communication Services의 참가자를 식별합니다. 예를 들어 참가자는 전화 번호 또는 Azure 통신 사용자입니다. 이 모델은 공용 구조체로 해석되어야 합니다. rawId를 제외하고 최대 하나의 추가 속성을 설정할 수 있습니다.

initiator?: CommunicationIdentifierKind

속성 값

message

텍스트 또는 html 형식의 메시지에 대한 채팅 메시지 콘텐츠입니다.

message?: string

속성 값

string

participants

참가자 또는 참가자Removed 유형의 메시지에 대한 채팅 메시지 콘텐츠입니다.

participants?: ChatParticipant[]

속성 값

topic

topicUpdated 유형의 메시지에 대한 채팅 메시지 콘텐츠입니다.

topic?: string

속성 값

string