Skip to content

InputPaidMedia

Type · TDLib 1.8.67 · d1085f9c

Describes a paid media to be sent

InputPaidMedia(
  type: InputPaidMediaType,
  media: InputFile,
  thumbnail: InputThumbnail,
  added_sticker_file_ids: list of int32,
  width: int32,
  height: int32
) → InputPaidMedia

type

InputPaidMediaType

Type of the media

media

InputFile

Photo or video to be sent

thumbnail

InputThumbnail

Media thumbnail; pass null to skip thumbnail uploading

added_sticker_file_ids

list of int32

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

width

int32

Media width

height

int32

Media height