peyk.platforms.telegram.types.prepared_inline_message

Classes

PreparedInlineMessage([id, expiration_date])

Describes an inline message to be sent by a user of a Mini App.

class peyk.platforms.telegram.types.prepared_inline_message.PreparedInlineMessage(id: str = '', expiration_date: int = 0)[source]

Bases: object

Describes an inline message to be sent by a user of a Mini App.

Variables:
  • id (str) – Unique identifier of the prepared message

  • expiration_date (int) – Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used.

id: str = ''
expiration_date: int = 0
classmethod from_dict(data: dict | None) PreparedInlineMessage | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.