Interface InputPaidMedia

Describes a paid media to be sent.

interface InputPaidMedia {
    @type: "inputPaidMedia";
    added_sticker_file_ids: number[];
    height: number;
    media: InputFile;
    thumbnail: InputThumbnail;
    type: InputPaidMediaType;
    width: number;
}

Properties

@type: "inputPaidMedia"
added_sticker_file_ids: number[]

File identifiers of the stickers added to the media, if applicable.

height: number

Media height.

media: InputFile

Photo or video to be sent.

thumbnail: InputThumbnail

Media thumbnail; pass null to skip thumbnail uploading.

Type of the media.

width: number

Media width.