InputMedia#

class pyrogram.raw.base.InputMedia#

Defines media content of a message.

Constructors:

This base type has 15 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.

InputMediaPhoto

Forwarded photo.

InputMediaPhotoExternal

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

InputMediaPoll

A poll.

InputMediaUploadedDocument

New document.

InputMediaUploadedPhoto

Photo.

InputMediaVenue

Can be used to send a venue geolocation.