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

This object represents an inline keyboard that appears right next to the message it belongs to. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InlineKeyboardMarkup>

Public Attributes

std::vector< std::vector< std::shared_ptr< InlineKeyboardButton > > > inlineKeyboard { }
 Array of button rows, each represented by an Array of InlineKeyboardButton objects.
std::optional< bool > forceReply { }
 Optional. Pass True if the reply interface must be shown to the user, as if they had manually selected the bot's message and tapped 'Reply'. The value of the field can't be changed when the inline keyboard is edited.

Detailed Description

This object represents an inline keyboard that appears right next to the message it belongs to.

Definition at line 4098 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 4099 of file Types.h.

Member Data Documentation

◆ forceReply

std::optional<bool> TgBot::InlineKeyboardMarkup::forceReply { }

Optional. Pass True if the reply interface must be shown to the user, as if they had manually selected the bot's message and tapped 'Reply'. The value of the field can't be changed when the inline keyboard is edited.

Definition at line 4110 of file Types.h.

◆ inlineKeyboard

std::vector<std::vector<std::shared_ptr<InlineKeyboardButton> > > TgBot::InlineKeyboardMarkup::inlineKeyboard { }

Array of button rows, each represented by an Array of InlineKeyboardButton objects.

Definition at line 4104 of file Types.h.


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