EphemeralMessageParameters¶
- class aiogram.types.ephemeral_message_parameters.EphemeralMessageParameters(*, receiver_user_id: int, callback_query_id: str | None = None, replace_callback_query_message: bool | None = None, **extra_data: Any)[source]¶
Source: https://core.telegram.org/bots/api#ephemeralmessageparameters
- receiver_user_id: int¶
Identifier of the user who will receive the message. It is not guaranteed that the user will receive the message, especially if they are offline. See here for more details
- callback_query_id: str | None¶
Optional. Identifier of the callback query which triggered the message, if any
- replace_callback_query_message: bool | None¶
Optional. Pass
Trueif the ephemeral message must be shown in place of the original message. Must beFalsefor callback queries from ephemeral messages, which must be edited using regular editEphemeralMessage… methods