Skip to content

GramIO API Reference / gramio/dist / TelegramPollMedia

Interface: TelegramPollMedia

Defined in: @gramio/types/out/objects.d.ts:1963

At most one of the optional fields can be present in any given object.

Documentation

Properties

PropertyTypeDescriptionDefined in
animation?TelegramAnimationOptional. Media is an animation, information about the animation@gramio/types/out/objects.d.ts:1967
audio?TelegramAudioOptional. Media is an audio file, information about the file; currently, can't be received in a poll option@gramio/types/out/objects.d.ts:1971
document?TelegramDocumentOptional. Media is a general file, information about the file; currently, can't be received in a poll option@gramio/types/out/objects.d.ts:1975
link?TelegramLinkOptional. The HTTP link attached to the poll option@gramio/types/out/objects.d.ts:1979
live_photo?TelegramLivePhotoOptional. Media is a live photo, information about the live photo@gramio/types/out/objects.d.ts:1983
location?TelegramLocationOptional. Media is a shared location, information about the location@gramio/types/out/objects.d.ts:1987
photo?TelegramPhotoSize[]Optional. Media is a photo, available sizes of the photo@gramio/types/out/objects.d.ts:1991
sticker?TelegramStickerOptional. Media is a sticker, information about the sticker; currently, for poll options only@gramio/types/out/objects.d.ts:1995
venue?TelegramVenueOptional. Media is a venue, information about the venue@gramio/types/out/objects.d.ts:1999
video?TelegramVideoOptional. Media is a video, information about the video@gramio/types/out/objects.d.ts:2003