Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SendCombineMessageParams

Parameters for sending a combined/forwarded message.

example
const params = new SendCombineMessageParams({
channelType: ChannelType.DIRECT,
nameList: ['Alice', 'Bob'],
summaryList: ['Hi', 'Hello back'],
msgNum: 2,
remoteUrl: 'https://example.com/combine.html',
});
await channel.sendMessage(params);

Hierarchy

Index

Accessors

  • get content(): T
  • The message content payload

    Returns T

  • get messageType(): string
  • The registered message type identifier (e.g. 'RC:TxtMsg')

    Returns string

Properties

directedUserIds?: string[]

List of target user IDs for directed messages. Only these users will receive the message.

disableNotification?: boolean

If true, suppress push notifications for this message

disableUpdateLastMessage?: boolean

If true, this message will not update the channel's last message

needReceipt?: boolean

If true, request read receipt for this message

metadata?: Record<string, string>

Key-value metadata (expansion) to attach to the message

pushConfig?: PushConfig

Push notification configuration for this message

onSendBefore?: ((message: Message<CombineMessageContent>) => void)

Type declaration

Constructors