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

Arguments for Api::getGameHighScores. More...

#include <Types.h>

Public Attributes

std::int64_t userId { }
 Target user id.
std::variant< std::int64_t, std::string > chatId = { }
 Required if inline_message_id is not specified. Unique identifier for the target chat.
std::int32_t messageId = 0
 Required if inline_message_id is not specified. Identifier of the sent message.
std::string inlineMessageId = ""
 Required if chat_id and message_id are not specified. Identifier of the inline message.

Detailed Description

Arguments for Api::getGameHighScores.

Definition at line 16536 of file Types.h.

Member Data Documentation

◆ chatId

std::variant<std::int64_t, std::string> TgBot::GetGameHighScoresArgs::chatId = { }

Required if inline_message_id is not specified. Unique identifier for the target chat.

Definition at line 16546 of file Types.h.

◆ inlineMessageId

std::string TgBot::GetGameHighScoresArgs::inlineMessageId = ""

Required if chat_id and message_id are not specified. Identifier of the inline message.

Definition at line 16558 of file Types.h.

◆ messageId

std::int32_t TgBot::GetGameHighScoresArgs::messageId = 0

Required if inline_message_id is not specified. Identifier of the sent message.

Definition at line 16552 of file Types.h.

◆ userId

std::int64_t TgBot::GetGameHighScoresArgs::userId { }

Target user id.

Definition at line 16540 of file Types.h.


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