Layer 224
PollAnswerObj
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 PollAnswerObj constructor obj := &tg.PollAnswerObj{ Text: &tg.TextWithEntities{}, Option: []byte{0x01, 0x02, 0x03}, }