MessageMediaType

class pyrogram.enums.MessageMediaType

Message media type enumeration used in Message.

AUDIO = 'audio'

Audio media

DOCUMENT = 'document'

Document media

PHOTO = 'photo'

Photo media

STICKER = 'sticker'

Sticker media

VIDEO = 'video'

Video media

ANIMATION = 'animation'

Animation media

VOICE = 'voice'

Voice media

VIDEO_NOTE = 'video_note'

Video note media

CONTACT = 'contact'

Contact media

LOCATION = 'location'

Location media

VENUE = 'venue'

Venue media

POLL = 'poll'

Poll media

WEB_PAGE_PREVIEW = 'web_page_preview'

Web page preview media

DICE = 'dice'

Dice media

GAME = 'game'

Game media

GIVEAWAY = 'giveaway'

Giveaway media

GIVEAWAY_RESULT = 'giveaway_result'

Giveaway result media

STORY = 'story'

Forwarded story media

INVOICE = 'invoice'

Invoice media

PAID_MEDIA = 'paid_media'

Paid media