The shared file class, which defines how to manage shared files.

Constructors

  • Parameters

    • params: {
          createTime: number;
          fileId: string;
          fileSize: number;
          name: string;
          owner: string;
      }
      • createTime: number
      • fileId: string
      • fileSize: number
      • name: string
      • owner: string

    Returns ChatGroupSharedFile

Properties

createTime: number

The Unix timestamp for uploading the shared file, in milliseconds.

fileId: string

The ID of the shared file.

fileSize: number

The size of the shared file, in bytes.

name: string

The name of the shared file.

owner: string

The user ID of the member who uploads the shared file.