Options
All
  • Public
  • Public/Protected
  • All
Menu

export class type

Hierarchy

  • _ChatFileMessageBody
    • ChatFileMessageBody

Index

Constructors

  • new ChatFileMessageBody(params: { displayName?: string; fileSize?: number; fileStatus?: number; lastModifyOperatorId?: string; lastModifyTime?: number; localPath: string; modifyCount?: number; remotePath?: string; secret?: string }): ChatFileMessageBody
  • Parameters

    • params: { displayName?: string; fileSize?: number; fileStatus?: number; lastModifyOperatorId?: string; lastModifyTime?: number; localPath: string; modifyCount?: number; remotePath?: string; secret?: string }
      • Optional displayName?: string
      • Optional fileSize?: number
      • Optional fileStatus?: number
      • Optional lastModifyOperatorId?: string
      • Optional lastModifyTime?: number
      • localPath: string
      • Optional modifyCount?: number
      • Optional remotePath?: string
      • Optional secret?: string

    Returns ChatFileMessageBody

Properties

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.

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.

The message type. See ChatMessageType.

Generated using TypeDoc