PollOptionDeleted
Describes a service message about an option deleted from a poll.
fields
| field | type | required | description |
|---|---|---|---|
poll_message | MaybeInaccessibleMessage | optional | Optional. Message containing the poll from which the option was deleted, 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_id | string | required | Unique identifier of the deleted option |
option_text | string | required | Option text |
option_text_entities | MessageEntity[] | optional | Optional. Special entities that appear in the option_text |
import
import type { PollOptionDeleted } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#polloptiondeleted