Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

clientAntiSpam?: boolean

indicates whether the text is moderated on the client

custom?: string

Extension field

env?: string

The environment variable pointing to different types of configurations for state sync and third-party callbacks.

idClient: string

To resend a message, the generated idClient must used to identify this message.

notifyTargetTags?: string

The target tag of this message. Members with the tag will receive the message; if it is unspecified, use the notifyTargetTags set by the sender when logging in, if it is still missing, the message will be sent to everyone in the chat room

For the matching rules of notifyTargetTags, see the document: Tags

resend: boolean

Whether the message is resent

subType?: number

Custom message subtype, an integer greater than 0.

tip: string

an alert

toAccids?: string[]

String array, the content is the account ID of the recipient. If this field is set and not empty, the message is a chat room directional message (the chat room directional message will not be saved in message history)

yidunAntiCheating?: string

Field for GuardEase Moderator, up to 1024 bytes in JSON string. Example: "{"email":"test@163.com","phone":"12345678901","token":"1234","extension":"hello"}"

yidunAntiSpamExt?: string

Extension field for GuardEase Moderator. JSON string, the maximum length is 1024.