EphemeralMessageParameters
Describes the parameters of an ephemeral message sent back to a specific user without cluttering the chat for other members.
Describes the parameters of an ephemeral message sent back to a specific user. Other members of the group or supergroup will not see the message.
| Field | Type | Required | Description |
|---|---|---|---|
receiver_user_id | Integer | Always | 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 | String | Optional | Identifier of the callback query which triggered the message, if any |
replace_callback_query_message | Boolean | Optional | Pass *True* if the ephemeral message must be shown in place of the original message. Must be *False* for callback queries from ephemeral messages, which must be edited using regular *editEphemeralMessage...* methods. |
Botlify Cloud Runtime
Credentials are auto-injected in
Credentials are auto-injected in
.env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.