MessageMedia#

class pyrogram.raw.base.MessageMedia[source]#

Media

Constructors:

This base type has 19 constructors available.

MessageMediaContact

Telegram API type.

MessageMediaDice

Telegram API type.

MessageMediaDocument

Telegram API type.

MessageMediaEmpty

Telegram API type.

MessageMediaGame

Telegram API type.

MessageMediaGeo

Telegram API type.

MessageMediaGeoLive

Telegram API type.

MessageMediaGiveaway

Telegram API type.

MessageMediaGiveawayResults

Telegram API type.

MessageMediaInvoice

Telegram API type.

MessageMediaPaidMedia

Telegram API type.

MessageMediaPhoto

Telegram API type.

MessageMediaPoll

Telegram API type.

MessageMediaStory

Telegram API type.

MessageMediaToDo

Telegram API type.

MessageMediaUnsupported

Telegram API type.

MessageMediaVenue

Telegram API type.

MessageMediaVideoStream

Telegram API type.

MessageMediaWebPage

Telegram API type.

Functions:

This object can be returned by 2 functions.

messages.UploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat) May also be used in a business connection, not by wrapping the query in invokeWithBusinessConnection, but rather by specifying the business connection ID in the business_connection_id parameter.

messages.UploadImportedMedia

Upload a media file associated with an imported chat, click here for more info.