tgbot-cpp
TgBot::InlineQuery Class Reference

This object represents an incoming inline query. More...

#include <InlineQuery.h>

Public Types

typedef std::shared_ptr< InlineQueryPtr
 

Public Attributes

std::string id
 Unique query identifier. More...
 
User::Ptr from
 Sender. More...
 
Location::Ptr location
 Optional. Sender location, only for bots that request user location. More...
 
std::string query
 Text of the query. More...
 
std::string offset
 Offset of the results to be returned. More...
 

Detailed Description

This object represents an incoming inline query.

Definition at line 21 of file InlineQuery.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<InlineQuery> TgBot::InlineQuery::Ptr

Definition at line 23 of file InlineQuery.h.

Member Data Documentation

◆ from

User::Ptr TgBot::InlineQuery::from

Sender.

Definition at line 33 of file InlineQuery.h.

◆ id

std::string TgBot::InlineQuery::id

Unique query identifier.

Definition at line 28 of file InlineQuery.h.

◆ location

Location::Ptr TgBot::InlineQuery::location

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

Definition at line 38 of file InlineQuery.h.

◆ offset

std::string TgBot::InlineQuery::offset

Offset of the results to be returned.

Definition at line 48 of file InlineQuery.h.

◆ query

std::string TgBot::InlineQuery::query

Text of the query.

Definition at line 43 of file InlineQuery.h.


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