tgbot-cpp
TgBot::InlineQuery Class Reference

#include <InlineQuery.h>

Public Types

typedef std::shared_ptr< InlineQueryPtr
 

Public Attributes

std::string id
 
User::Ptr from
 
Location::Ptr location
 
std::string query
 
std::string offset
 

Detailed Description

This object represents an incoming inline query.

Definition at line 20 of file InlineQuery.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 22 of file InlineQuery.h.

Member Data Documentation

◆ from

User::Ptr TgBot::InlineQuery::from

Sender.

Definition at line 32 of file InlineQuery.h.

◆ id

std::string TgBot::InlineQuery::id

Unique query identifier.

Definition at line 27 of file InlineQuery.h.

◆ location

Location::Ptr TgBot::InlineQuery::location

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

Definition at line 37 of file InlineQuery.h.

◆ offset

std::string TgBot::InlineQuery::offset

Offset of the results to be returned.

Definition at line 47 of file InlineQuery.h.

◆ query

std::string TgBot::InlineQuery::query

Text of the query.

Definition at line 42 of file InlineQuery.h.


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