Telegram HTTP API.
Telegram HTTP API.
(api-request {:keys [token user-agent timeout keepalive]}
api-method
http-method
params)
(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
(delete-message config chat-id message-id)
https://core.telegram.org/bots/api#deletemessage
(encode-params params)
JSON-encode complex values of a map.
JSON-encode complex values of a map.
(filter-params params)
Filter out nil values from a map.
Filter out nil values from a map.
(get-updates config)
(get-updates config {:keys [limit offset timeout allowed-updates]})
https://core.telegram.org/bots/api#getupdates
(restrict-user config chat-id user-id permissions)
(restrict-user config chat-id user-id permissions {:keys [until_date]})
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close