Chat SDK for React Native 1.14.0
    Preparing search index...

    Class ChatFileMessageBody

    文件类型的消息体。

    Hierarchy

    • _ChatFileMessageBody
      • ChatFileMessageBody
    Index

    Constructors

    • Parameters

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

      Returns ChatFileMessageBody

    Properties

    displayName: string

    文件名称。

    fileSize: number

    文件大小,单位为字节。

    fileStatus: ChatDownloadStatus

    文件下载状态,详见 ChatDownloadStatus

    lastModifyOperatorId?: string

    消息最后修改人。

    lastModifyTime?: number

    最后修改时间戳。

    localPath: string = ''

    文件本地路径。

    modifyCount?: number

    修改次数。

    remotePath: string

    文件在服务器的路径。

    secret: string

    下载附件的 token。

    消息类型,详见 ChatMessageType