EphemeralMessageParameters¶
- class ftmgram.types.EphemeralMessageParameters(*, receiver_user_id: int | None = None, callback_query_id: str | None = None, replace_callback_query_message: bool | None = None)¶
Describes parameters for sending an ephemeral message (Bot API 10.2 / 10.3).
- Parameters:
receiver_user_id (
int, optional) – Identifier of the target user who can view the ephemeral message.callback_query_id (
str, optional) – Identifier of the callback query related to the ephemeral message.replace_callback_query_message (
bool, optional) – True, if the ephemeral message should replace the message with the callback query button.