Available types

EphemeralMessageParameters

fields

fieldtyperequireddescription
receiver_user_idnumberrequiredIdentifier 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_idstringoptionalOptional. Identifier of the callback query which triggered the message, if any
replace_callback_query_messagebooleanoptionalOptional. 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

types.ts
import type { EphemeralMessageParameters } from "@yaebal/types";

used by

methods