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#34e794bd file:InputFile file_name:string mime_type:string = InputMedia;
inputMediaUploadedThumbDocument#3e46de5d file:InputFile thumb:InputFile file_name:string mime_type:string = InputMedia;
inputMediaDocument#d184e841 id:InputDocument = InputMedia;
Constructor | Description |
---|---|
inputMediaEmpty | Empty media content of a message. |
inputMediaUploadedPhoto | Photo |
inputMediaPhoto | Forwarded photo |
inputMediaGeoPoint | Map. |
inputMediaContact | Phone book contact |
inputMediaUploadedDocument | New document |
inputMediaDocument | Forwarded document |
inputMediaVenue | Can be used to send a venue geolocation. |
inputMediaPhotoExternal | New photo that will be uploaded by the server using the specified URL |
inputMediaDocumentExternal | Document that will be downloaded by the telegram servers |
inputMediaGame | A game |
inputMediaInvoice | Generated invoice of a bot payment |
inputMediaGeoLive | Live geolocation |
inputMediaPoll | A poll |
inputMediaDice | Send a dice-based animated sticker |
inputMediaStory | Forwarded story |
inputMediaWebPage | Specifies options that will be used to generate the link preview for the caption, or even a standalone link preview without an attached message. |
inputMediaPaidMedia | Paid media, see here ยป for more info. |