telegram api type · layer 229

InputMedia

Defines media content of a message.

constructors (20)

constructoriddescription
inputMediaEmpty#9664f57fEmpty media content of a message.
inputMediaUploadedPhoto#7d8375daPhoto
inputMediaPhoto#e3af4434Forwarded photo
inputMediaGeoPoint#f9c44144Map.
inputMediaContact#f8ab7dfbPhone book contact
inputMediaUploadedDocument#037c9330New document
inputMediaDocument#a8763ab5Forwarded document
inputMediaVenue#c13d1c11Can be used to send a venue geolocation.
inputMediaPhotoExternal#e5bbfe1aNew photo that will be uploaded by the server using the specified URL
inputMediaDocumentExternal#779600f9Document that will be downloaded by the telegram servers
inputMediaGame#d33f43f3A game
inputMediaInvoice#405fef0dGenerated invoice of a bot payment
inputMediaGeoLive#971fa843Live geolocation
inputMediaPoll#883a4108A poll
inputMediaDice#e66fbf7bSend a dice-based animated sticker
inputMediaStory#89fdd778Forwarded story
inputMediaWebPage#c21b8849Specifies options that will be used to generate the link preview for the caption, or even a standalone link preview without an attached message.
inputMediaPaidMedia#c4103386Paid media, see here » for more info.
inputMediaTodo#9fc55fdeCreates a todo list ».
inputMediaStakeDice#f3a9244a

used by (21)