Available types

PollOptionAdded

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

fields

fieldtyperequireddescription
poll_messageMaybeInaccessibleMessageoptionalOptional. 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.
option_persistent_idstringrequiredUnique identifier of the added option
option_textstringrequiredOption text
option_text_entitiesMessageEntity[]optionalOptional. Special entities that appear in the option_text

import

types.ts
import type { PollOptionAdded } from "@yaebal/types";

used by

types