@cbnsndwch/zero-sources

isFileAudioAttachment() function

Home > @cbnsndwch/zrocket-contracts > isFileAudioAttachment

isFileAudioAttachment() function

Signature:

isFileAudioAttachment: (attachment: IMessageFileAttachment) => attachment is IMessageAudioAttachment & {
    type: "file";
}

Parameters

Parameter

Type

Description

attachment

IMessageFileAttachment

Returns:

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

How was this page?