Options
All
  • Public
  • Public/Protected
  • All
Menu
brief

Elements of a combined message

param merge_elem_title

merge_elem_title: Read/Write (required). Title of the combined message.

param merge_elem_abstract_array

merge_elem_abstract_array: Array string. Read/Write (required). Abstract list of the combined message.

param merge_elem_compatible_text

merge_elem_compatible_text: Read/Write (required). Combined messages are compatible with text. SDKs of early versions do not support combined messages, and they will send a text message with the content compatibleText by default. This parameter cannot be empty.

param merge_elem_message_array

merge_elem_message_array: array Message, Read/write (required), message list (maximum 300, message object must be kTIMMsg_SendSucc state, message type cannot be GroupTipsElem or GroupReportElem)

param merge_elem_layer_over_limit

merge_elem_layer_over_limit: Read-only. When a combined message also contains combined messages, we call the situation combination nesting. The number of combination nesting levels cannot exceed 100. If the limit is exceeded, layersOverLimit will return YES, kTIMMergerElemTitle and kTIMMergerElemAbstractArray will return an empty string, and DownloadMergerMessage will return the ERR_MERGER_MSG_LAYERS_OVER_LIMIT error code.

param merge_elem_relay_pb_key

merge_elem_relay_pb_key: Read-only. Key for downloading the message list on the native SDK.

param merge_elem_relay_json_key

merge_elem_relay_json_key: Read-only. Key for downloading the message list on the web SDK.

param merge_elem_relay_buffer

merge_elem_relay_buffer: Read-only. Buffer for message forwarding.

note

You can use a message custom field to specify whether a voice message is played. For example, you can set the valid values of the field to 0 (played) and 1 (not played) and configure the field value to change to 1 when a user taps Play. Only one voice element can be added to a message. When multiple voice elements are added to a message, sending the message may fail.

Hierarchy

  • MergerElem

Index

Properties

merge_elem_abstract_array

merge_elem_abstract_array: String[]

merge_elem_compatible_text

merge_elem_compatible_text: string

merge_elem_layer_over_limit

merge_elem_layer_over_limit: boolean

merge_elem_message_array

merge_elem_message_array: Json_value_msg[]

merge_elem_relay_buffer

merge_elem_relay_buffer: number

merge_elem_relay_json_key

merge_elem_relay_json_key: string

merge_elem_relay_pb_key

merge_elem_relay_pb_key: string

merge_elem_title

merge_elem_title: string

Generated using TypeDoc