Liking cljdoc? Tell your friends :D
Clojure only.

telegrambot-lib.games.protocol

Telegram Bot API Games - protocol definitions.

Telegram Bot API Games - protocol definitions.
- <https://core.telegram.org/bots/api#games>
raw docstring

Gamescljprotocol

Bot API for HTML5 games on Telegram.

Bot API for HTML5 games on Telegram.

get-game-high-scoresclj

(get-game-high-scores this content)
(get-game-high-scores this chat_id message_id user_id)

Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. On success, returns an Array of GameHighScore objects.

Use this method to get data for high score tables.
Will return the score of the specified user and several of their neighbors in a game.
On success, returns an Array of GameHighScore objects.

get-game-high-scores-inlineclj

(get-game-high-scores-inline this content)
(get-game-high-scores-inline this inline_message_id user_id)

Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. On success, returns an Array of GameHighScore objects.

Use this method to get data for high score tables.
Will return the score of the specified user and several of their neighbors in a game.
On success, returns an Array of GameHighScore objects.

send-gameclj

(send-game this content)
(send-game this chat_id game_short_name)
(send-game this chat_id game_short_name & optional)

Use this method to send a game. On success, the sent Message is returned.

Use this method to send a game. On success, the sent Message is returned.

set-game-scoreclj

(set-game-score this content)
(set-game-score this chat_id message_id user_id score)
(set-game-score this chat_id message_id user_id score & optional)

Use this method to set the score of the specified user in a game. On success, if the message was sent by the bot, returns the edited Message, otherwise returns True. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.

Use this method to set the score of the specified user in a game.
On success, if the message was sent by the bot, returns the edited Message,
otherwise returns True. Returns an error, if the new score is not greater
than the user's current score in the chat and force is False.

set-game-score-inlineclj

(set-game-score-inline this content)
(set-game-score-inline this inline_message_id user_id score)
(set-game-score-inline this inline_message_id user_id score & optional)

Use this method to set the score of the specified user in a game. On success, if the message was sent by the bot, returns the edited Message, otherwise returns True. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.

Use this method to set the score of the specified user in a game.
On success, if the message was sent by the bot, returns the edited Message,
otherwise returns True. Returns an error, if the new score is not greater
than the user's current score in the chat and force is False.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close