Skip to content

Interface: VideoNote

视频消息对象。

Extends

Properties

duration

duration: number

视频时长(单位:秒)。

Defined in

src/typings/message.ts:182


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


length

length: number

发送方设定的视频宽高。

Defined in

src/typings/message.ts:180


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

Released under the MIT License.