Liking cljdoc? Tell your friends :D

morse.api


answer-callbackclj

(answer-callback token callback-query-id)
(answer-callback token callback-query-id text)
(answer-callback token callback-query-id text show-alert)

Sends an answer to an callback query

Sends an answer to an callback query
sourceraw docstring

answer-inlineclj

(answer-inline token inline-query-id results)
(answer-inline token inline-query-id options results)

Sends an answer to an inline query

Sends an answer to an inline query
sourceraw docstring

assert-file-typeclj

(assert-file-type value valid-extensions)

Throws if value is a file but it's extension is not valid.

Throws if value is a file but it's extension is not valid.
sourceraw docstring

base-urlclj

source

delete-textclj

(delete-text token chat-id message-id)

Removing a message from the chat

Removing a message from the chat
sourceraw docstring

edit-textclj

(edit-text token chat-id message-id text)
(edit-text token chat-id message-id options text)
Edits a sent message
(https://core.telegram.org/bots/api#editmessagetext)
sourceraw docstring

forward-messageclj

(forward-message token chat-id from-chat-id message-id)
(forward-message token chat-id from-chat-id message-id options)

Forwards a message from to a chat

Forwards a message from to a chat
sourceraw docstring

get-fileclj

(get-file token file-id)

Gets url of the file

Gets url of the file
sourceraw docstring

get-updates-asyncclj

(get-updates-async token {:keys [limit offset timeout]})

Receive updates from Bot via long-polling endpoint

Receive updates from Bot via long-polling endpoint
sourceraw docstring

get-user-profile-photosclj

(get-user-profile-photos token user-id)
(get-user-profile-photos token user-id options)

Gets user profile photos object

Gets user profile photos object
sourceraw docstring

is-file?clj

(is-file? value)

Is value a file?

Is value a file?
sourceraw docstring

of-type?clj

(of-type? file valid-extensions)

Does the extension of file match any of the extensions in valid-extensions?

Does the extension of file match any of the
extensions in valid-extensions?
sourceraw docstring

send-audioclj

(send-audio token chat-id audio)
(send-audio token chat-id options audio)

Sends an audio message to the chat

Sends an audio message to the chat
sourceraw docstring

send-documentclj

(send-document token chat-id document)
(send-document token chat-id options document)

Sends a document to the chat

Sends a document to the chat
sourceraw docstring

send-fileclj

(send-file token chat-id options file method field filename)
source

send-photoclj

(send-photo token chat-id image)
(send-photo token chat-id options image)

Sends an image to the chat

Sends an image to the chat
sourceraw docstring

send-stickerclj

(send-sticker token chat-id sticker)
(send-sticker token chat-id options sticker)

Sends a sticker to the chat

Sends a sticker to the chat
sourceraw docstring

send-textclj

(send-text token chat-id text)
(send-text token chat-id options text)

Sends message to the chat

Sends message to the chat
sourceraw docstring

send-videoclj

(send-video token chat-id video)
(send-video token chat-id options video)

Sends a video to the chat

Sends a video to the chat
sourceraw docstring

set-webhookclj

(set-webhook token webhook-url)

Register WebHook to receive updates from chats

Register WebHook to receive updates from chats
sourceraw docstring

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

× close