The combined message body.

Hierarchy

  • _ChatFileMessageBody
    • ChatCombineMessageBody

Constructors

  • Parameters

    • params: {
          compatibleText?: string;
          displayName?: string;
          fileSize?: number;
          fileStatus?: number;
          lastModifyOperatorId?: string;
          lastModifyTime?: number;
          localPath: string;
          messageIdList?: string[];
          modifyCount?: number;
          remotePath?: string;
          secret?: string;
          summary?: string;
          title?: string;
      }
      • OptionalcompatibleText?: string
      • OptionaldisplayName?: string
      • OptionalfileSize?: number
      • OptionalfileStatus?: number
      • OptionallastModifyOperatorId?: string
      • OptionallastModifyTime?: number
      • localPath: string
      • OptionalmessageIdList?: string[]
      • OptionalmodifyCount?: number
      • OptionalremotePath?: string
      • Optionalsecret?: string
      • Optionalsummary?: string
      • Optionaltitle?: string

    Returns ChatCombineMessageBody

Properties

compatibleText?: string

The compatible text of the combined message.

displayName: string

The file name.

fileSize: number

The size of the file in bytes.

fileStatus: ChatDownloadStatus

The download status of the attachment file. See ChatDownloadStatus.

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.

localPath: string = ''

The local path of the file.

messageIdList?: string[]

The list of IDs of original messages in the combined message.

note This attribute is used only when you create a combined message.

modifyCount?: number

The number of times a message is modified.

remotePath: string

The path of the attachment file in the server.

secret: string

The token to download the file attachment.

summary?: string

The summary of the combined message.

title?: string

The title of the combined message.

The message type. See ChatMessageType.