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)

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)

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)

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