pollAnswer

A possible answer of a poll

Constructor schema is available as of layer 179. Switch ยป

Parameters

Name Type Description
text TextWithEntities Textual representation of the answer (only Premium users can use custom emoji entities here).
option bytes The param that has to be passed to messages.sendVote.

Type

PollAnswer

Related pages

Telegram Premium

Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.

Custom emojis

Telegram allows including animated and static custom emojis inside of messages.

messages.sendVote

Vote in a poll

Starting from layer 159, the vote will be sent from the peer specified using messages.saveDefaultSendAs.