tgbot-cpp
Loading...
Searching...
No Matches
TgBot::EphemeralMessageParameters Struct Reference

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<EphemeralMessageParameters>

Public Attributes

std::int64_t receiverUserId { }
 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.
std::optional< std::string > callbackQueryId { }
 Optional. Identifier of the callback query which triggered the message, if any.
std::optional< bool > replaceCallbackQueryMessage { }
 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.

Detailed Description

Definition at line 3233 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 3234 of file Types.h.

Member Data Documentation

◆ callbackQueryId

std::optional<std::string> TgBot::EphemeralMessageParameters::callbackQueryId { }

Optional. Identifier of the callback query which triggered the message, if any.

Definition at line 3244 of file Types.h.

◆ receiverUserId

std::int64_t TgBot::EphemeralMessageParameters::receiverUserId { }

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.

Definition at line 3240 of file Types.h.

◆ replaceCallbackQueryMessage

std::optional<bool> TgBot::EphemeralMessageParameters::replaceCallbackQueryMessage { }

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.

Definition at line 3250 of file Types.h.


The documentation for this struct was generated from the following file: