PreparedInlineMessage

class aiogram.types.prepared_inline_message.PreparedInlineMessage(*, id: str, expiration_date: datetime | timedelta | int, **extra_data: Any)[source]

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

Source: https://core.telegram.org/bots/api#preparedinlinemessage

id: str

Unique identifier of the prepared message

expiration_date: datetime.datetime | datetime.timedelta | int

Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used