Liking cljdoc? Tell your friends :D

morse.polling

Declares long-polling routines to communicate with Telegram Bot API

Declares long-polling routines to communicate with Telegram Bot API
raw docstring

create-consumerclj

(create-consumer updates handler)

Creates consumer from given handler function and channel with updates.

Start infinite loop inside go-routine that will pull messages from channel.

Will be stopped when channel is closed.

Creates consumer from given handler function
and channel with updates.

Start infinite loop inside go-routine
that will pull messages from channel.

Will be stopped when channel is closed.
sourceraw docstring

create-producerclj

(create-producer running token opts)

Passed channel should be always empty. Close it to stop long-polling. Returns channel with updates from Telegram

Passed channel should be always empty.
Close it to stop long-polling.
Returns channel with updates from Telegram
sourceraw docstring

new-offsetclj

(new-offset updates default)

Returns new offset for Telegram updates

Returns new offset for Telegram updates
sourceraw docstring

startclj

(start token handler)
(start token handler opts)

Starts long-polling process. Handler is supposed to process immediately, as it will be called in a blocking manner.

Starts long-polling process.
Handler is supposed to process immediately, as it will
be called in a blocking manner.
sourceraw docstring

stopclj

(stop running)

Stops everything

Stops everything
sourceraw docstring

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

× close