PollMedia¶
- class aiogram.types.poll_media.PollMedia(*, animation: Animation | None = None, audio: Audio | None = None, document: Document | None = None, live_photo: LivePhoto | None = None, location: Location | None = None, photo: list[PhotoSize] | None = None, sticker: Sticker | None = None, venue: Venue | None = None, video: Video | None = None, **extra_data: Any)[source]¶
At most one of the optional fields can be present in any given object.
Source: https://core.telegram.org/bots/api#pollmedia
- audio: Audio | None¶
Optional. Media is an audio file, information about the file; currently, can’t be received in a poll option
- document: Document | None¶
Optional. Media is a general file, information about the file; currently, can’t be received in a poll option