tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ChosenInlineResult Class Reference

This object represents a result of an inline query that was chosen by the user and sent to their chat partner. More...

#include <ChosenInlineResult.h>

Public Types

typedef std::shared_ptr< ChosenInlineResultPtr
 

Public Attributes

std::string resultId
 The unique identifier for the result that was chosen.
 
User::Ptr from
 The user that chose the result.
 
Location::Ptr location
 Optional. Sender location, only for bots that require user location.
 
std::string inlineMessageId
 Optional. Identifier of the sent inline message.
 
std::string query
 The query that was used to obtain the result.
 

Detailed Description

This object represents a result of an inline query that was chosen by the user and sent to their chat partner.

Definition at line 17 of file ChosenInlineResult.h.

Member Typedef Documentation

◆ Ptr

Definition at line 19 of file ChosenInlineResult.h.

Member Data Documentation

◆ from

User::Ptr TgBot::ChosenInlineResult::from

The user that chose the result.

Definition at line 29 of file ChosenInlineResult.h.

◆ inlineMessageId

std::string TgBot::ChosenInlineResult::inlineMessageId

Optional. Identifier of the sent inline message.

Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message.

Definition at line 42 of file ChosenInlineResult.h.

◆ location

Location::Ptr TgBot::ChosenInlineResult::location

Optional. Sender location, only for bots that require user location.

Definition at line 34 of file ChosenInlineResult.h.

◆ query

std::string TgBot::ChosenInlineResult::query

The query that was used to obtain the result.

Definition at line 47 of file ChosenInlineResult.h.

◆ resultId

std::string TgBot::ChosenInlineResult::resultId

The unique identifier for the result that was chosen.

Definition at line 24 of file ChosenInlineResult.h.


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