共用方式為


ChatMessageType type

定義 ChatMessageType 的值。

type ChatMessageType =
  | "text"
  | "html"
  | "topicUpdated"
  | "participantAdded"
  | "participantRemoved"