Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Functions
telebot-games.h File Reference

This file contains games feature of telegram bot. More...

#include <stdbool.h>
#include "telebot-types.h"

Go to the source code of this file.

Functions

telebot_error_e telebot_send_game (telebot_handler_t handle, long long int chat_id, int message_thread_id, const char *game_short_name, bool disable_notification, bool protect_content, const char *reply_parameters, const char *reply_markup, telebot_message_t *message)
 Use this method to send a game.
 
telebot_error_e telebot_set_game_score (telebot_handler_t handle, long long int user_id, int score, bool force, bool disable_edit_message, long long int chat_id, int message_id, const char *inline_message_id, telebot_message_t *message)
 Use this method to set the score of the specified user in a game.
 
telebot_error_e telebot_get_game_high_scores (telebot_handler_t handle, long long int user_id, long long int chat_id, int message_id, const char *inline_message_id, telebot_game_high_score_t **high_scores, int *count)
 Use this method to get data for high score tables.
 
telebot_error_e telebot_put_game_high_scores (telebot_game_high_score_t *high_scores, int count)
 Release game high scores obtained with telebot_get_game_high_scores.
 

Detailed Description

This file contains games feature of telegram bot.

Author
Elmurod Talipov
Date
2026-02-27