Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IStreamMessageContent

流式消息 content 数据

Hierarchy

Index

Properties

用户附加信息

extra?: string

消息中的附加信息

消息中包含的引用内容

mentionedInfo?: MentionedInfo

群组消息中的 @ 信息,仅在单群聊、超级群中有效

content: string

流式消息内容

  • Web 平台拉取到的内容为流式消息的首包数据;
  • Electron 平台下,当新收消息时,该字段为消息首包数据;通过拉取流式数据接口,SDK 将逐渐补全该数据内容
complete?: boolean

用于标识服务器是否已接收流推送完成

completeReason?: number

业务层推流结束时透传的结束 reason 信息

stopReason?: number

服务器端接收流数据的结束原因

isSynced?: boolean

用于标识客户端是否已完成流数据拉取,当该值为 true 时,content 内容为全量流消息数据;仅限 Electron 平台有效

type?: string

自定义编码流媒体数据类型