Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CombineMsgBody

Index

Properties

chatType: ChatType

The conversation type.

compatibleText: string

The compatibility information for combining message.

deliverOnlineOnly?: boolean

Whether the message is delivered only when the recipient(s) is/are online:

  • true: The message is delivered only when the recipient(s) is/are online. If the recipient is offline, the message is discarded.
  • (Default) false: The message is delivered when the recipient(s) is/are online. If the recipient(s) is/are offline, the message will not be delivered to them until they get online.
ext?: {}

Message extension.

Type declaration

  • [key: string]: any
from?: string

The sender, which can only be the current user and can not be changed.

group?: string
deprecated

Whether the conversation type is group.

id: string

The message ID.

isChatThread?: boolean

Whether the message is a threaded message.

messageList: MessagesType[]

The message list of the combined message.

msgConfig?: { allowGroupAck?: boolean; languages?: string[] }

Whether read receipts are required during a group conversation.

Type declaration

  • Optional allowGroupAck?: boolean
  • Optional languages?: string[]
priority?: MessagePriority

The message priority.

receiverList?: string[]

The list of message recipients.

roomType?: boolean
deprecated

Whether the conversation type is chat room.

summary: string

The summary list of the combined message.

time: number

Time.

title: string

The title of the combined message.

to: string

The recipient.

type: "combine"

The message type.

Methods

  • onFileUploadComplete(data: { secret: string; url: string }): void
  • The callback of file upload completion.

    Parameters

    • data: { secret: string; url: string }
      • secret: string
      • url: string

    Returns void

  • onFileUploadError(error: any): void
  • The callback of a file upload error.

    Parameters

    • error: any

    Returns void

Generated using TypeDoc