Options
All
  • Public
  • Public/Protected
  • All
Menu

export class type

Hierarchy

Index

Constructors

  • new ChatTextMessageBody(params: { content: string; lastModifyOperatorId?: string; lastModifyTime?: number; modifyCount?: number; targetLanguageCodes?: string[]; translations?: any }): ChatTextMessageBody
  • Parameters

    • params: { content: string; lastModifyOperatorId?: string; lastModifyTime?: number; modifyCount?: number; targetLanguageCodes?: string[]; translations?: any }
      • content: string
      • Optional lastModifyOperatorId?: string
      • Optional lastModifyTime?: number
      • Optional modifyCount?: number
      • Optional targetLanguageCodes?: string[]
      • Optional translations?: any

    Returns ChatTextMessageBody

Properties

content: string

The text message content.

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.

targetLanguageCodes?: string[]
translations?: any

The translation.

It is a KV object, where the key is the target language and the value is the translation.

The message type. See ChatMessageType.

Generated using TypeDoc