共用方式為


ChatThreadClientState type

的 <xref:%40azure%2Fcommunication-chat%23ChatThreadClient> 集中式狀態。

type ChatThreadClientState = {
  chatMessages: { [key: string]: ChatMessageWithStatus }
  latestReadTime: Date
  participants: { [key: string]: ChatParticipant }
  properties?: ChatThreadProperties
  readReceipts: ChatMessageReadReceipt[]
  threadId: string
  typingIndicators: TypingIndicatorReceivedEvent[]
}