Skip to content

PollOption

This object contains information about one answer option in a poll.

Fields

persistent_idStringRequired
Unique identifier of the option, persistent on option addition and deletion
textStringRequiredminLen 1maxLen 100
Option text, 1-100 characters
text_entitiesMessageEntity[]Optional
Optional. Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts
mediaPollMediaOptional
Optional. Media added to the poll option
voter_countIntegerRequired
Number of users who voted for this option; may be 0 if unknown
added_by_userUserOptional
Optional. User who added the option; omitted if the option wasn't added by a user after poll creation
added_by_chatChatOptional
Optional. Chat that added the option; omitted if the option wasn't added by a chat after poll creation
addition_dateIntegerOptional
Optional. Point in time (Unix timestamp) when the option was added; omitted if the option existed in the original poll

GramIO Usage

See Also