19#ifndef __TELEBOT_INLINE_H__
20#define __TELEBOT_INLINE_H__
46 const char *inline_query_id,
const char *results,
int cache_time,
47 bool is_personal,
const char *next_offset,
const char *button);
53 long long int user_id,
const char *result,
bool allow_user_chats,
54 bool allow_bot_chats,
bool allow_group_chats,
bool allow_channel_chats,
66 const char *web_app_query_id,
const char *result,
char **inline_message_id);
telebot_error_e telebot_save_prepared_inline_message(telebot_handler_t handle, long long int user_id, const char *result, bool allow_user_chats, bool allow_bot_chats, bool allow_group_chats, bool allow_channel_chats, telebot_prepared_inline_message_t *prepared_message)
Use this method to save a prepared inline message.
telebot_error_e telebot_answer_web_app_query(telebot_handler_t handle, const char *web_app_query_id, const char *result, char **inline_message_id)
Use this method to send answers to an inline query to a user from a Web App.
struct telebot_handler * telebot_handler_t
This is opaque object to represent a telebot handler.
Definition telebot-types.h:3489
telebot_error_e telebot_answer_inline_query(telebot_handler_t handle, const char *inline_query_id, const char *results, int cache_time, bool is_personal, const char *next_offset, const char *button)
Use this method to send answers to an inline query.
telebot_error_e
Enumerations of error code for telebot programming interface.
Definition telebot-common.h:45
telebot_error_e telebot_put_prepared_inline_message(telebot_prepared_inline_message_t *prepared_message)
Release prepared inline message.
This object represents a prepared inline message.
Definition telebot-types.h:3309
This file contains types used to create telegram bot.