The custom message body.

Hierarchy (view full)

Constructors

  • Parameters

    • params: {
          event: string;
          lastModifyOperatorId?: string;
          lastModifyTime?: number;
          modifyCount?: number;
          params?: Record<string, string>;
      }
      • event: string
      • OptionallastModifyOperatorId?: string
      • OptionallastModifyTime?: number
      • OptionalmodifyCount?: number
      • Optionalparams?: Record<string, string>

    Returns ChatCustomMessageBody

Properties

event: string

The event.

lastModifyOperatorId?: string

The user ID of the operator that modified the message last time.

lastModifyTime?: number

The UNIX timestamp of the last message modification, in milliseconds.

modifyCount?: number

The number of times a message is modified.

params?: Record<string, string>

The custom params map.

The message type. See ChatMessageType.