InputMedia

Defines media content of a message.

inputMediaEmpty#9664f57f = InputMedia;
inputMediaUploadedPhoto#2dc53a7d file:InputFile = InputMedia;
inputMediaPhoto#8f2ab2ec id:InputPhoto = InputMedia;
inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia;
inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia;
inputMediaUploadedVideo#133ad6f6 file:InputFile duration:int w:int h:int mime_type:string = InputMedia;
inputMediaUploadedThumbVideo#9912dabf file:InputFile thumb:InputFile duration:int w:int h:int mime_type:string = InputMedia;
inputMediaVideo#7f023ae6 id:InputVideo = InputMedia;
inputMediaUploadedAudio#4e498cab file:InputFile duration:int mime_type:string = InputMedia;
inputMediaAudio#89938781 id:InputAudio = InputMedia;
inputMediaUploadedDocument#ffe76b78 file:InputFile mime_type:string attributes:Vector<DocumentAttribute> = InputMedia;
inputMediaUploadedThumbDocument#41481486 file:InputFile thumb:InputFile mime_type:string attributes:Vector<DocumentAttribute> = InputMedia;
inputMediaDocument#d184e841 id:InputDocument = InputMedia;

Constructors

inputMediaEmpty Empty constructor
inputMediaUploadedPhoto Photo
inputMediaPhoto Forwarded photo
inputMediaGeoPoint Map
inputMediaContact Contact
inputMediaUploadedVideo Video
inputMediaUploadedThumbVideo Video with a thumbnail
inputMediaVideo Forwarded video
inputMediaUploadedAudio Audio file
Constructor added in Layer 10.
inputMediaAudio Forwarded audio
Constructor added in Layer 10.
inputMediaUploadedDocument Document
Constructor added in Layer 10.
inputMediaUploadedThumbDocument Document with thumbnail
Constructor added in Layer 10.
inputMediaDocument Forwarded document
Constructor added in Layer 10.