telegramx.js

PollOptionAdded

interface

Describes a service message about an option added to a poll.

Declaration

interface PollOptionAdded 

Properties

option_persistent_id: string;

Unique identifier of the added option

option_text_entities?: MessageEntity[];

Optional. Special entities that appear in the option_text

option_textproperty#
option_text: string;

Option text

poll_message?: MaybeInaccessibleMessage;

Optional. Message containing the poll to which the option was added, if known. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.