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

Arguments for Api::savePreparedKeyboardButton. More...

#include <Types.h>

Public Attributes

std::shared_ptr< KeyboardButton > button { }
 A JSON-serialized object describing the button to be saved. The button must be of the type request_users, request_chat, or request_managed_bot.
std::int64_t userId { }
 Unique identifier of the target user that can use the button.

Detailed Description

Arguments for Api::savePreparedKeyboardButton.

Definition at line 17431 of file Types.h.

Member Data Documentation

◆ button

std::shared_ptr<KeyboardButton> TgBot::SavePreparedKeyboardButtonArgs::button { }

A JSON-serialized object describing the button to be saved. The button must be of the type request_users, request_chat, or request_managed_bot.

Definition at line 17436 of file Types.h.

◆ userId

std::int64_t TgBot::SavePreparedKeyboardButtonArgs::userId { }

Unique identifier of the target user that can use the button.

Definition at line 17441 of file Types.h.


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