Liking cljdoc? Tell your friends :D

telegrambot-lib.games.core

Telegram Bot API Games - function implementations.

Telegram Bot API Games - function implementations.

* https://core.telegram.org/bots/api#games
raw docstring

behaviorclj

Map for extending the core TBot record with functions.

Map for extending the core TBot record with functions.
sourceraw docstring

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.
sourceraw docstring

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.
sourceraw docstring

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