EphemeralMessageParameters
fields
| field | type | required | description |
|---|---|---|---|
receiver_user_id | number | required | 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 | Optional. Identifier of the callback query which triggered the message, if any |
replace_callback_query_message | boolean | optional | 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. |
import
import type { EphemeralMessageParameters } from "@yaebal/types";used by
methods
- sendAnimation
- sendAudio
- sendContact
- sendDocument
- sendLivePhoto
- sendLocation
- sendMessage
- sendPhoto
- sendRichMessage
- sendSticker
- sendVenue
- sendVideo
- sendVideoNote
- sendVoice
official Bot API docs: https://core.telegram.org/bots/api/#ephemeralmessageparameters