Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Public Attributes | List of all members
telebot_inline_query Struct Reference

This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results. More...

#include <telebot-types.h>

Public Attributes

char * id
 
struct telebot_userfrom
 
char * query
 
char * offset
 
char * chat_type
 
struct telebot_locationlocation
 

Detailed Description

This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.

Member Data Documentation

◆ chat_type

char* telebot_inline_query::chat_type

Optional. Type of the chat from which the inline query was sent

◆ from

struct telebot_user* telebot_inline_query::from

Sender

◆ id

char* telebot_inline_query::id

Unique identifier for this query

◆ location

struct telebot_location* telebot_inline_query::location

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

◆ offset

char* telebot_inline_query::offset

Offset of the results to be returned, can be controlled by the bot

◆ query

char* telebot_inline_query::query

Text of the query (up to 256 characters)


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