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::int64_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 17395 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 17409 of file Types.h.

◆ allowChannelChats

bool TgBot::SavePreparedInlineMessageArgs::allowChannelChats = false

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

Definition at line 17414 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 17419 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 17424 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 17399 of file Types.h.

◆ userId

std::int64_t TgBot::SavePreparedInlineMessageArgs::userId { }

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

Definition at line 17404 of file Types.h.


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