Layer 220
PollAnswer
A possible answer of a poll
constructor
pollAnswer#ff16e2ca text:TextWithEntities option:bytes = PollAnswer;
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. send Vote. |
Returns
PollAnswerGogram Example
// Creating PollAnswer constructor obj := &tg.PollAnswer{ Text: &tg.TextWithEntities{}, Option: []byte{}, }