Liking cljdoc? Tell your friends :D

telegrambot-lib.updates.core

Getting updates - function implementations.

Getting updates - function implementations.

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

behaviorclj

Map for extending the core TBot record with functions.

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

delete-webhookclj

(delete-webhook this)

Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success. Requires no parameters.

Use this method to remove webhook integration if you decide to
switch back to getUpdates.
Returns True on success.
Requires no parameters.
sourceraw docstring

get-updatesclj

(get-updates this)
(get-updates this content)

Use this method to receive incoming updates using long polling. An Array of Update objects is returned.

Use this method to receive incoming updates using long polling.
An Array of Update objects is returned.
sourceraw docstring

get-webhookclj

(get-webhook this)

Use this method to get current webhook status. Requires no parameters. On success, returns a WebhookInfo object. If the bot is using getUpdates, will return an object with the url field empty.

Use this method to get current webhook status.
Requires no parameters.
On success, returns a WebhookInfo object.
If the bot is using getUpdates, will return an object with the
url field empty.
sourceraw docstring

set-webhookclj

(set-webhook this content)

Use this method to specify a url and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified url, containing a JSON-serialized Update. In case of an unsuccessful request, we will give up after a reasonable amount of attempts. Returns True on success.

Use this method to specify a url and receive incoming updates via
an outgoing webhook. Whenever there is an update for the bot, we
will send an HTTPS POST request to the specified url, containing
a JSON-serialized Update. In case of an unsuccessful request, we
will give up after a reasonable amount of attempts.
Returns True on success.
sourceraw docstring

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

× close