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

Arguments for Api::savePreparedInlineMessage. More...

#include <Types.h>

Public Attributes

std::shared_ptr< InlineQueryResult > result { }
 A JSON-serialized object describing the message to be sent.
std::uint64_t userId { }
 Unique identifier of the target user that can use the prepared message.
bool allowBotChats = false
 Pass True if the message can be sent to private chats with bots.
bool allowChannelChats = false
 Pass True if the message can be sent to channel chats.
bool allowGroupChats = false
 Pass True if the message can be sent to group and supergroup chats.
bool allowUserChats = false
 Pass True if the message can be sent to private chats with users.

Detailed Description

Arguments for Api::savePreparedInlineMessage.

Definition at line 18325 of file Types.h.

Member Data Documentation

◆ allowBotChats

bool TgBot::SavePreparedInlineMessageArgs::allowBotChats = false

Pass True if the message can be sent to private chats with bots.

Definition at line 18339 of file Types.h.

◆ allowChannelChats

bool TgBot::SavePreparedInlineMessageArgs::allowChannelChats = false

Pass True if the message can be sent to channel chats.

Definition at line 18344 of file Types.h.

◆ allowGroupChats

bool TgBot::SavePreparedInlineMessageArgs::allowGroupChats = false

Pass True if the message can be sent to group and supergroup chats.

Definition at line 18349 of file Types.h.

◆ allowUserChats

bool TgBot::SavePreparedInlineMessageArgs::allowUserChats = false

Pass True if the message can be sent to private chats with users.

Definition at line 18354 of file Types.h.

◆ result

std::shared_ptr<InlineQueryResult> TgBot::SavePreparedInlineMessageArgs::result { }

A JSON-serialized object describing the message to be sent.

Definition at line 18329 of file Types.h.

◆ userId

std::uint64_t TgBot::SavePreparedInlineMessageArgs::userId { }

Unique identifier of the target user that can use the prepared message.

Definition at line 18334 of file Types.h.


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