Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CreateTextMsgParameters

Index

Properties

chatType: ChatType

The session type.

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?: {}

The message extension.

Type declaration

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

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

isChatThread?: boolean

Whether the message is a thread message.

msg: string

The message content.

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

Whether read receipts are required during a group session.

Type declaration

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

Message priority.

receiverList?: string[]

The list of message recipients.

to: string

The recipient.

type: "txt"

The message type.

Generated using TypeDoc