Liking cljdoc? Tell your friends :D

teleward.telegram

Telegram HTTP API.

Telegram HTTP API.
raw docstring

api-requestclj

(api-request {:keys [token user-agent timeout keepalive]}
             api-method
             http-method
             params)
source

ban-userclj

(ban-user config chat-id user-id)
(ban-user config chat-id user-id {:keys [until-date revoke-messages]})
https://core.telegram.org/bots/api#banchatmember
sourceraw docstring

chat-permission-typesclj

source

chat-permissions-offclj

source

chat-permissions-onclj

source

delete-messageclj

(delete-message config chat-id message-id)
https://core.telegram.org/bots/api#deletemessage
sourceraw docstring

encode-paramsclj

(encode-params params)

JSON-encode complex values of a map.

JSON-encode complex values of a map.
sourceraw docstring

filter-paramsclj

(filter-params params)

Filter out nil values from a map.

Filter out nil values from a map.
sourceraw docstring

get-meclj

(get-me config)
https://core.telegram.org/bots/api#getme
sourceraw docstring

get-updatesclj

(get-updates config)
(get-updates config {:keys [limit offset timeout allowed-updates]})
https://core.telegram.org/bots/api#getupdates
sourceraw docstring

restrict-userclj

(restrict-user config chat-id user-id permissions)
(restrict-user config chat-id user-id permissions {:keys [until_date]})
source

send-messageclj

(send-message config chat-id text)
(send-message config
              chat-id
              text
              {:keys [parse-mode entities disable-web-page-preview
                      disable-notification protect-content reply-to-message-id
                      allow-sending-without-reply reply-markup]})
https://core.telegram.org/bots/api#sendmessage
sourceraw docstring

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

× close