@cbnsndwch/zero-sources

isFileVideoAttachment() function

Home > @cbnsndwch/zrocket-contracts > isFileVideoAttachment

isFileVideoAttachment() function

Signature:

isFileVideoAttachment: (attachment: IMessageFileAttachment) => attachment is IMessageVideoAttachment & {
    type: "file";
}

Parameters

Parameter

Type

Description

attachment

IMessageFileAttachment

Returns:

attachment is IMessageVideoAttachment & { type: "file"; }

How was this page?