Skip to main content

pollAnswer

A possible answer of a poll

type tg.PollAnswer struct { /* ... */ }

Implements PollAnswer.

Fields​

NameTypeRequiredDescription
TextTextWithEntitiesyesTextual representation of the answer (only Premium users can use custom emoji entities here).
Option[]byteyesThe param that has to be passed to messages.sendVote.
MediaMessageMediaClass—Media field of PollAnswer.
AddedByPeerClass—AddedBy field of PollAnswer.
Dateint—Date field of PollAnswer.

References​