peyk.platforms.telegram.types.poll_option_deleted

Classes

PollOptionDeleted([option])

Describes a service message about an option deleted from a poll.

class peyk.platforms.telegram.types.poll_option_deleted.PollOptionDeleted(option: PollOption | None = None)[source]

Bases: object

Describes a service message about an option deleted from a poll.

Variables:
  • option_persistent_id – Unique identifier of the deleted option

  • option_text – Option text

  • poll_message – 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_text_entities – Special entities that appear in the option_text

option: PollOption | None = None
classmethod from_dict(data: dict | None) PollOptionDeleted | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.