InputMedia

class pyrogram.raw.base.InputMedia

Defines media content of a message.

Constructors:

This base type has 18 constructors available.

InputMediaContact

Phone book contact

InputMediaDice

Send a dice-based animated sticker

InputMediaDocument

Forwarded document

InputMediaDocumentExternal

Document that will be downloaded by the telegram servers

InputMediaEmpty

Empty media content of a message.

InputMediaGame

A game

InputMediaGeoLive

Live geolocation

InputMediaGeoPoint

Map.

InputMediaInvoice

Generated invoice of a bot payment

InputMediaPaidMedia

Telegram API type.

InputMediaPhoto

Forwarded photo

InputMediaPhotoExternal

New photo that will be uploaded by the server using the specified URL

InputMediaPoll

A poll

InputMediaStory

Forwarded story

InputMediaUploadedDocument

New document

InputMediaUploadedPhoto

Photo

InputMediaVenue

Can be used to send a venue geolocation.

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.