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.
MediaMessageMediaClassMedia field of PollAnswer.
AddedByPeerClassAddedBy field of PollAnswer.
DateintDate field of PollAnswer.

References