Skip to content

Interface: Video ​

视频文件对象。

Extends ​

Properties ​

duration ​

duration: number

视频时长(单位:秒)。

Defined in ​

src/typings/message.ts:174


file_id ​

file_id: string

文件标识。

可用于下载、重用文件。

Inherited from ​

Attachment.file_id

Defined in ​

src/typings/message.ts:136


file_size? ​

optional file_size: number

文件大小

Inherited from ​

Attachment.file_size

Defined in ​

src/typings/message.ts:146


file_unique_id ​

file_unique_id: string

文件唯一 ID。

不受时间、获取人的影响。不可用于下载、重用文件。

Inherited from ​

Attachment.file_unique_id

Defined in ​

src/typings/message.ts:142


height ​

height: number

视频的高度。

Defined in ​

src/typings/message.ts:172


mime_type? ​

optional mime_type: string

文件的MIME 类型

Inherited from ​

Attachment.mime_type

Defined in ​

src/typings/message.ts:144


thumb? ​

optional thumb: unknown

封面。

Inherited from ​

Attachment.thumb

Defined in ​

src/typings/message.ts:148


width ​

width: number

视频的宽度。

Defined in ​

src/typings/message.ts:170

Released under the MIT License.