Liking cljdoc? Tell your friends :D
All platforms.

meinside.clogram


add-sticker-to-setclj/s

(add-sticker-to-set bot user-id name sticker)
Add a sticker to a set.

(https://core.telegram.org/bots/api#addstickertoset)
sourceraw docstring

answer-callback-queryclj/s

(answer-callback-query bot callback-query-id & options)

Answer a callback query.

options include: :text, :show-alert, :url, and :cache-time.

(https://core.telegram.org/bots/api#answercallbackquery)

Answer a callback query.

`options` include: :text, :show-alert, :url, and :cache-time.

(https://core.telegram.org/bots/api#answercallbackquery)
sourceraw docstring

answer-inline-queryclj/s

(answer-inline-query bot inline-query-id results & options)

Answer an inline query.

options include: :cache-time, :is-personal, :next-offset, :switch-pm-text, and :switch-pm-parameter.

(https://core.telegram.org/bots/api#answerinlinequery)

Answer an inline query.

`options` include: :cache-time, :is-personal, :next-offset, :switch-pm-text, and :switch-pm-parameter.

(https://core.telegram.org/bots/api#answerinlinequery)
sourceraw docstring

answer-pre-checkout-queryclj/s

(answer-pre-checkout-query bot pre-checkout-query-id ok & options)

Answer a pre-checkout query.

If ok is false, :error-message should be included in options.

(https://core.telegram.org/bots/api#answerprecheckoutquery)

Answer a pre-checkout query.

If `ok` is false, :error-message should be included in `options`.

(https://core.telegram.org/bots/api#answerprecheckoutquery)
sourceraw docstring

answer-shipping-queryclj/s

(answer-shipping-query bot shipping-query-id ok & options)

Answer a shipping query.

If ok is true, :shipping-options should be included in options. Otherwise, :error-message should be included.

(https://core.telegram.org/bots/api#answershippingquery)

Answer a shipping query.

If `ok` is true, :shipping-options should be included in `options`. Otherwise, :error-message should be included.

(https://core.telegram.org/bots/api#answershippingquery)
sourceraw docstring

answer-web-app-queryclj/s

(answer-web-app-query bot web-app-query-id result)
Answer a web app query.

(https://core.telegram.org/bots/api#answerwebappquery)
sourceraw docstring

approve-chat-join-requestclj/s

(approve-chat-join-request bot chat-id user-id)
Approve chat join request.

(https://core.telegram.org/bots/api#approvechatjoinrequest)
sourceraw docstring

ban-chat-memberclj/s

(ban-chat-member bot chat-id user-id & options)

Ban a chat member.

options include: :until-date and :revoke-messages

(https://core.telegram.org/bots/api#banchatmember)

Ban a chat member.

`options` include: :until-date and :revoke-messages

(https://core.telegram.org/bots/api#banchatmember)
sourceraw docstring

ban-chat-sender-chatclj/s

(ban-chat-sender-chat bot chat-id sender-chat-id)

Ban a channel chat in a supergroup or a channel.

(https://core.telegram.org/bots/api#banchatsenderchat)

Ban a channel chat in a supergroup or a channel.

(https://core.telegram.org/bots/api#banchatsenderchat)
sourceraw docstring

close-botclj/s

(close-bot bot)

Close the bot instance.

(https://core.telegram.org/bots/api#close)

Close the bot instance.

(https://core.telegram.org/bots/api#close)
sourceraw docstring

close-forum-topicclj/s

(close-forum-topic bot chat-id message-thread-id)

Close an open topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#closeforumtopic)

Close an open topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#closeforumtopic)
sourceraw docstring

close-general-forum-topicclj/s

(close-general-forum-topic bot chat-id)

Close an open 'General' topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#closegeneralforumtopic)

Close an open 'General' topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#closegeneralforumtopic)
sourceraw docstring

copy-messageclj/s

(copy-message bot chat-id from-chat-id message-id & options)

Copy a message.

options include: :message-thread-id, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :disable-notification, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#copymessage)

Copy a message.

`options` include: :message-thread-id, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :disable-notification, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#copymessage)
sourceraw docstring

copy-messagesclj/s

(copy-messages bot chat-id from-chat-id message-ids & options)

Copy messages.

options include: :message-thread-id, :disable-notification, :protect-content, and :remove-caption.

(https://core.telegram.org/bots/api#copymessages)

Copy messages.

`options` include: :message-thread-id, :disable-notification, :protect-content, and :remove-caption.

(https://core.telegram.org/bots/api#copymessages)
sourceraw docstring

(create-chat-invite-link bot chat-id & options)
Create a chat invite link.

(https://core.telegram.org/bots/api#createchatinvitelink)
sourceraw docstring

create-forum-topicclj/s

(create-forum-topic bot chat-id name & options)

Create a topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#createforumtopic)

Create a topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#createforumtopic)
sourceraw docstring

(create-invoice-link bot
                     chat-id
                     title
                     description
                     payload
                     provider-token
                     currency
                     prices
                     &
                     options)

Create a link for an invoice.

options include: :max-tip-amount, :suggested-tip-amounts, :provider-data, :photo-url, :photo-size, :photo-width, :photo-height, :need-name, :need-phone-number, :need-email, :need-shipping-address, :send-phone-number-to-provider, :send-email-to-provider, and :is-flexible.

https://core.telegram.org/bots/api#createinvoicelink

Create a link for an invoice.

`options` include: :max-tip-amount, :suggested-tip-amounts, :provider-data, :photo-url, :photo-size, :photo-width, :photo-height, :need-name, :need-phone-number, :need-email, :need-shipping-address, :send-phone-number-to-provider, :send-email-to-provider, and :is-flexible.

https://core.telegram.org/bots/api#createinvoicelink
sourceraw docstring

create-new-sticker-setclj/s

(create-new-sticker-set bot user-id name title stickers & options)

Create a new sticker set.

options include: :sticker-type, and :needs-repainting

(https://core.telegram.org/bots/api#createnewstickerset)

Create a new sticker set.

`options` include: :sticker-type, and :needs-repainting

(https://core.telegram.org/bots/api#createnewstickerset)
sourceraw docstring

decline-chat-join-requestclj/s

(decline-chat-join-request bot chat-id user-id)
Decline chat join request.

(https://core.telegram.org/bots/api#declinechatjoinrequest)
sourceraw docstring

default-interval-secondsclj/s

source

default-limit-countclj/s

source

default-timeout-secondsclj/s

source

delete-chat-photoclj/s

(delete-chat-photo bot chat-id)
Delete a chat photo.

(https://core.telegram.org/bots/api#deletechatphoto)
sourceraw docstring

delete-chat-sticker-setclj/s

(delete-chat-sticker-set bot chat-id)
Delete a chat sticker set.

(https://core.telegram.org/bots/api#deletechatstickerset)
sourceraw docstring

delete-forum-topicclj/s

(delete-forum-topic bot chat-id message-thread-id)

Delete a forum topic along with all its messages in a forum supergroup chat.

(https://core.telegram.org/bots/api#deleteforumtopic)

Delete a forum topic along with all its messages in a forum supergroup chat.

(https://core.telegram.org/bots/api#deleteforumtopic)
sourceraw docstring

delete-messageclj/s

(delete-message bot chat-id message-id)
Delete a message.

(https://core.telegram.org/bots/api#deletemessage)
sourceraw docstring

delete-messagesclj/s

(delete-messages bot chat-id message-ids)
Delete messages.

(https://core.telegram.org/bots/api#deletemessages)
sourceraw docstring

delete-my-commandsclj/s

(delete-my-commands bot & options)
Delete this bot's commands.

(https://core.telegram.org/bots/api#deletemycommands)
sourceraw docstring

delete-sticker-from-setclj/s

(delete-sticker-from-set bot sticker)
Delete a sticker from its set.

(https://core.telegram.org/bots/api#deletestickerfromset)
sourceraw docstring

delete-sticker-setclj/s

(delete-sticker-set bot name)
Delete sticker set.

(https://core.telegram.org/bots/api#deletestickerset)
sourceraw docstring

delete-webhookclj/s

(delete-webhook bot & options)

Delete webhook for polling messages.

(https://core.telegram.org/bots/api#deletewebhook)

Delete webhook for polling messages.

(https://core.telegram.org/bots/api#deletewebhook)
sourceraw docstring

(edit-chat-invite-link bot chat-id invite-link & options)
Edit a chat invite link.

(https://core.telegram.org/bots/api#editchatinvitelink)
sourceraw docstring

edit-forum-topicclj/s

(edit-forum-topic bot chat-id message-thread-id & options)

Edit name and icon of a topic in a forum supergroup chat.

options include: :name, and :icon-custom-emoji-id.

(https://core.telegram.org/bots/api#editforumtopic)

Edit name and icon of a topic in a forum supergroup chat.

`options` include: :name, and :icon-custom-emoji-id.

(https://core.telegram.org/bots/api#editforumtopic)
sourceraw docstring

edit-general-forum-topicclj/s

(edit-general-forum-topic bot chat-id name)

Edit the name of the 'General' topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#editgeneralforumtopic)

Edit the name of the 'General' topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#editgeneralforumtopic)
sourceraw docstring

edit-message-captionclj/s

(edit-message-caption bot caption & options)

Edit a message's caption.

required options: :chat-id + :message-id (when :inline-message-id is not given) or :inline-message-id (when :chat-id & :message-id are not given)

other options include: :business-connection-id, :parse-mode, :caption-entities, :show-caption-above-media, and :reply-markup.

(https://core.telegram.org/bots/api#editmessagecaption)

Edit a message's caption.

required `options`: :chat-id + :message-id (when :inline-message-id is not given)
                    or :inline-message-id (when :chat-id & :message-id are not given)

other `options` include: :business-connection-id, :parse-mode, :caption-entities, :show-caption-above-media, and :reply-markup.

(https://core.telegram.org/bots/api#editmessagecaption)
sourceraw docstring

edit-message-live-locationclj/s

(edit-message-live-location bot latitude longitude & options)

Edit a message's live location.

required options: :chat-id + :message-id (when :inline-message-id is not given) or :inline-message-id (when :chat-id & :message-id are not given)

other options include: :business-connection-id, :live-period, :horizontal-accuracy, :heading, :proximity-alert-radius, and :reply-markup.

(https://core.telegram.org/bots/api#editmessagelivelocation)

Edit a message's live location.

required `options`: :chat-id + :message-id (when :inline-message-id is not given)
                    or :inline-message-id (when :chat-id & :message-id are not given)

other `options` include: :business-connection-id, :live-period, :horizontal-accuracy, :heading, :proximity-alert-radius, and :reply-markup.

(https://core.telegram.org/bots/api#editmessagelivelocation)
sourceraw docstring

edit-message-mediaclj/s

(edit-message-media bot media & options)

Edit a message's media.

required options: :chat-id + :message-id (when :inline-message-id is not given) or :inline-message-id (when :chat-id & :message-id are not given)

other options include: :business-connection-id, and :reply-markup.

(https://core.telegram.org/bots/api#editmessagemedia)

Edit a message's media.

required `options`: :chat-id + :message-id (when :inline-message-id is not given)
                    or :inline-message-id (when :chat-id & :message-id are not given)

other `options` include: :business-connection-id, and :reply-markup.

(https://core.telegram.org/bots/api#editmessagemedia)
sourceraw docstring

edit-message-reply-markupclj/s

(edit-message-reply-markup bot & options)

Edit a message's reply markup.

required options: :chat-id + :message-id (when :inline-message-id is not given) or :inline-message-id (when :chat-id & :message-id are not given)

other options include: :business-connection-id, and :reply-markup.

(https://core.telegram.org/bots/api#editmessagereplymarkup)

Edit a message's reply markup.

required `options`: :chat-id + :message-id (when :inline-message-id is not given)
                    or :inline-message-id (when :chat-id & :message-id are not given)

other `options` include: :business-connection-id, and :reply-markup.

(https://core.telegram.org/bots/api#editmessagereplymarkup)
sourceraw docstring

edit-message-textclj/s

(edit-message-text bot text & options)

Edit a message's text.

required options: :chat-id + :message-id (when :inline-message-id is not given) or :inline-message-id (when :chat-id & :message-id are not given)

other options include: :business-connection-id, :parse-mode, :entities, :link-preview-options, and :reply-markup.

(https://core.telegram.org/bots/api#editmessagetext)

Edit a message's text.

required `options`: :chat-id + :message-id (when :inline-message-id is not given)
                    or :inline-message-id (when :chat-id & :message-id are not given)

other `options` include: :business-connection-id, :parse-mode, :entities, :link-preview-options, and :reply-markup.

(https://core.telegram.org/bots/api#editmessagetext)
sourceraw docstring

(export-chat-invite-link bot chat-id)
Export a chat invite link.

(https://core.telegram.org/bots/api#exportchatinvitelink)
sourceraw docstring

forward-messageclj/s

(forward-message bot chat-id from-chat-id message-id & options)

Forward a message.

options include: :message-thread-id, :disable-notification, and :protect-content.

(https://core.telegram.org/bots/api#forwardmessage)

Forward a message.

`options` include: :message-thread-id, :disable-notification, and :protect-content.

(https://core.telegram.org/bots/api#forwardmessage)
sourceraw docstring

forward-messagesclj/s

(forward-messages bot chat-id from-chat-id message-ids & options)

Forward messages.

options include: :message-thread-id, :disable-notification, and :protect-content.

(https://core.telegram.org/bots/api#forwardmessages)

Forward messages.

`options` include: :message-thread-id, :disable-notification, and :protect-content.

(https://core.telegram.org/bots/api#forwardmessages)
sourceraw docstring

get-business-connectionclj/s

(get-business-connection bot business-connection-id)

Get business connection of this bot.

(https://core.telegram.org/bots/api#getbusinessconnection)

Get business connection of this bot.

(https://core.telegram.org/bots/api#getbusinessconnection)
sourceraw docstring

get-chatclj/s

(get-chat bot chat-id)
Fetch a chat.

(https://core.telegram.org/bots/api#getchat)
sourceraw docstring

get-chat-administratorsclj/s

(get-chat-administrators bot chat-id)
Fetch chat administrators.

(https://core.telegram.org/bots/api#getchatadministrators)
sourceraw docstring

get-chat-memberclj/s

(get-chat-member bot chat-id user-id)
Fetch a chat member.

(https://core.telegram.org/bots/api#getchatmember)
sourceraw docstring

get-chat-member-countclj/s

(get-chat-member-count bot chat-id)

Fetch the count of chat members.

(https://core.telegram.org/bots/api#getchatmembercount)

Fetch the count of chat members.

(https://core.telegram.org/bots/api#getchatmembercount)
sourceraw docstring

get-chat-menu-buttonclj/s

(get-chat-menu-button bot & options)

Get the bot's menu button.

options include: :chat-id.

(https://core.telegram.org/bots/api#getchatmenubutton)

Get the bot's menu button.

`options` include: :chat-id.

(https://core.telegram.org/bots/api#getchatmenubutton)
sourceraw docstring

get-custom-emoji-stickersclj/s

(get-custom-emoji-stickers bot ids)
Fetch custom emoji stickers.

(https://core.telegram.org/bots/api#getcustomemojistickers)
sourceraw docstring

get-fileclj/s

(get-file bot file-id)
Fetch a file's info.

(https://core.telegram.org/bots/api#getfile)
sourceraw docstring

get-forum-topic-icon-stickersclj/s

(get-forum-topic-icon-stickers bot)
Get custom emoji stickers.

(https://core.telegram.org/bots/api#getforumtopiciconstickers)
sourceraw docstring

get-game-highscoresclj/s

(get-game-highscores bot user-id & options)

Fetch a game's highscores.

required options: :chat-id + :message-id (when :inline-message-id is not given) or :inline-message-id (when :chat-id & :message-id are not given)

(https://core.telegram.org/bots/api#getgamehighscores)

Fetch a game's highscores.

required `options`: :chat-id + :message-id (when :inline-message-id is not given)
                    or :inline-message-id (when :chat-id & :message-id are not given)

(https://core.telegram.org/bots/api#getgamehighscores)
sourceraw docstring

get-meclj/s

(get-me bot)
Fetch this bot's info.

(https://core.telegram.org/bots/api#getme)
sourceraw docstring

get-my-commandsclj/s

(get-my-commands bot & options)
Get this bot's commands.

(https://core.telegram.org/bots/api#getmycommands)
sourceraw docstring

get-my-default-administrator-rightsclj/s

(get-my-default-administrator-rights bot & options)

Get my default administrator rights.

options include: :for-channels.

(https://core.telegram.org/bots/api#getmydefaultadministratorrights)

Get my default administrator rights.

`options` include: :for-channels.

(https://core.telegram.org/bots/api#getmydefaultadministratorrights)
sourceraw docstring

get-my-descriptionclj/s

(get-my-description bot & options)
Get this bot's description.

(https://core.telegram.org/bots/api#getmydescription)
sourceraw docstring

get-my-nameclj/s

(get-my-name bot & options)
Get this bot's name.

(https://core.telegram.org/bots/api#getmyname)
sourceraw docstring

get-my-short-descriptionclj/s

(get-my-short-description bot & options)
Get this bot's short description.

(https://core.telegram.org/bots/api#getmyshortdescription)
sourceraw docstring

get-star-transactionsclj/s

(get-star-transactions bot & options)
Get star transactions.

(https://core.telegram.org/bots/api#getstartransactions)
sourceraw docstring

get-sticker-setclj/s

(get-sticker-set bot name)
Fetch a sticker set.

(https://core.telegram.org/bots/api#getstickerset)
sourceraw docstring

get-updatesclj/s

(get-updates bot & options)

Fetch updates for this bot.

options include: :offset, :limit, :timeout, and :allowed-updates.

(https://core.telegram.org/bots/api#getupdates)

Fetch updates for this bot.

`options` include: :offset, :limit, :timeout, and :allowed-updates.

(https://core.telegram.org/bots/api#getupdates)
sourceraw docstring

get-user-chat-boostsclj/s

(get-user-chat-boosts bot chat-id user-id)
Get chat boosts of a user.

(https://core.telegram.org/bots/api#getuserchatboosts)
sourceraw docstring

get-user-profile-photosclj/s

(get-user-profile-photos bot user-id & options)

Fetch user profile photos.

options include: :offset and :limit.

(https://core.telegram.org/bots/api#getuserprofilephotos)

Fetch user profile photos.

`options` include: :offset and :limit.

(https://core.telegram.org/bots/api#getuserprofilephotos)
sourceraw docstring

hide-general-forum-topicclj/s

(hide-general-forum-topic bot chat-id)

Hide the 'General' topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#hidegeneralforumtopic)

Hide the 'General' topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#hidegeneralforumtopic)
sourceraw docstring

leave-chatclj/s

(leave-chat bot chat-id)
Leave a chat.

(https://core.telegram.org/bots/api#leavechat)
sourceraw docstring

log-outclj/s

(log-out bot)

Log out from the cloud Bot API server.

(https://core.telegram.org/bots/api#logout)

Log out from the cloud Bot API server.

(https://core.telegram.org/bots/api#logout)
sourceraw docstring

new-botclj/s

(new-bot token & opts)

Create a new bot with given token and options.

Create a new bot with given token and options.
sourceraw docstring

pin-chat-messageclj/s

(pin-chat-message bot chat-id message-id & options)

Pin a chat message.

options include: :disable-notification.

(https://core.telegram.org/bots/api#pinchatmessage)

Pin a chat message.

`options` include: :disable-notification.

(https://core.telegram.org/bots/api#pinchatmessage)
sourceraw docstring

poll-updatesclj/s

(poll-updates bot interval-seconds fn-update-handler & options)

Poll updates for this bot with given interval and send them through the handler function.

On Clojure, this function will block until it gets stopped with stop-polling-updates function.

options include: :offset, :limit, :timeout, and :allowed-updates.

Start polling with:

;; will be blocked until stopped (poll-updates bot 1 (fn [bot update] ...))

and stop polling with:

(stop-polling-updates bot)

Poll updates for this bot with given interval and send them through the handler function.

On Clojure, this function will block until it gets stopped with `stop-polling-updates` function.

`options` include: :offset, :limit, :timeout, and :allowed-updates.

Start polling with:

;; will be blocked until stopped
(poll-updates bot 1 (fn [bot update] ...))

and stop polling with:

(stop-polling-updates bot)
sourceraw docstring

promote-chat-memberclj/s

(promote-chat-member bot chat-id user-id & options)

Promote a chat member.

options include: :is-anonymous, :can-manage-chat, :can-change-info, :can-post-messages, :can-edit-messages, :can-delete-messages, :can-post-stories, :can-edit-stories, :can-delete-stories, :can-manage-video-chats, :can-invite-users, :can-restrict-members, :can-pin-messages, :can-promote-members, and :can-manage-topics.

(https://core.telegram.org/bots/api#promotechatmember)

Promote a chat member.

`options` include: :is-anonymous, :can-manage-chat, :can-change-info, :can-post-messages, :can-edit-messages, :can-delete-messages, :can-post-stories, :can-edit-stories, :can-delete-stories, :can-manage-video-chats, :can-invite-users, :can-restrict-members, :can-pin-messages, :can-promote-members, and :can-manage-topics.

(https://core.telegram.org/bots/api#promotechatmember)
sourceraw docstring

refund-star-paymentclj/s

(refund-star-payment bot user-id telegram-payment-charge-id)

Refund a successful payment in Telegram Stars.

(https://core.telegram.org/bots/api#refundstarpayment)

Refund a successful payment in Telegram Stars.

(https://core.telegram.org/bots/api#refundstarpayment)
sourceraw docstring

reopen-forum-topicclj/s

(reopen-forum-topic bot chat-id message-thread-id)

Reopen a closed topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#reopenforumtopic)

Reopen a closed topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#reopenforumtopic)
sourceraw docstring

reopen-general-forum-topicclj/s

(reopen-general-forum-topic bot chat-id)

Reopen a closed 'General' topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#reopengeneralforumtopic)

Reopen a closed 'General' topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#reopengeneralforumtopic)
sourceraw docstring

replace-sticker-in-setclj/s

(replace-sticker-in-set bot user-id name old-sticker sticker)

Replace an existing sticker in a sticker set.

(https://core.telegram.org/bots/api#replacestickerinset)

Replace an existing sticker in a sticker set.

(https://core.telegram.org/bots/api#replacestickerinset)
sourceraw docstring

restrict-chat-memberclj/s

(restrict-chat-member bot chat-id user-id & options)

Restrict a chat member.

options include: :can-send-messages, :can-send-media-messages, :can-send-polls, :can-send-other-messages, :can-add-web-page-previews, :can-change-info, :can-invite-users, :can-pin-messages, :use-independent-chat-permissions, and :until-date.

(https://core.telegram.org/bots/api#chatpermissions) (https://core.telegram.org/bots/api#restrictchatmember)

Restrict a chat member.

`options` include: :can-send-messages, :can-send-media-messages, :can-send-polls, :can-send-other-messages, :can-add-web-page-previews, :can-change-info, :can-invite-users, :can-pin-messages, :use-independent-chat-permissions, and :until-date.

(https://core.telegram.org/bots/api#chatpermissions)
(https://core.telegram.org/bots/api#restrictchatmember)
sourceraw docstring

(revoke-chat-invite-link bot chat-id invite-link)
Revoke a chat invite link.

(https://core.telegram.org/bots/api#revokechatinvitelink)
sourceraw docstring

send-animationclj/s

(send-animation bot chat-id animation & options)

Send an animation.

options include: :business-connection-id, :message-thread-id, :duration, :width, :height, :thumbnail, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :has-spoiler, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendanimation)

Send an animation.

`options` include: :business-connection-id, :message-thread-id, :duration, :width, :height, :thumbnail, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :has-spoiler, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendanimation)
sourceraw docstring

send-audioclj/s

(send-audio bot chat-id audio & options)

Send an audio file.

options include: :business-connection-id, :message-thread-id, :caption, :parse-mode, :caption-entities, :duration, :performer, :title, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendaudio)

Send an audio file.

`options` include: :business-connection-id, :message-thread-id, :caption, :parse-mode, :caption-entities, :duration, :performer, :title, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendaudio)
sourceraw docstring

send-chat-actionclj/s

(send-chat-action bot chat-id action & options)

Send a chat action.

options include: :business-connection-id, and :message-thread-id.

action can be one of: :typing, :upload_photo, :record_video, :upload_video, :record_voice, :upload_voice, :upload_document, :choose_sticker, :find_location, :record_video_note, or :upload_video_note.

(https://core.telegram.org/bots/api#sendchataction)

Send a chat action.

`options` include: :business-connection-id, and :message-thread-id.

`action` can be one of: :typing, :upload_photo, :record_video, :upload_video, :record_voice, :upload_voice, :upload_document, :choose_sticker, :find_location, :record_video_note, or :upload_video_note.

(https://core.telegram.org/bots/api#sendchataction)
sourceraw docstring

send-contactclj/s

(send-contact bot chat-id phone-number first-name & options)

Send a contact.

options include: :business-connection-id, :message-thread-id, :last-name, :vcard, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendcontact)

Send a contact.

`options` include: :business-connection-id, :message-thread-id, :last-name, :vcard, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendcontact)
sourceraw docstring

send-diceclj/s

(send-dice bot chat-id & options)

Send a dice.

emoji can be one of: 🎲, 🎯, 🏀, ⚽, 🎳, or 🎰. (default: 🎲)

options include: :business-connection-id, :message-thread-id, :emoji, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#senddice)

Send a dice.

`emoji` can be one of: 🎲, 🎯, 🏀, ⚽, 🎳, or 🎰. (default: 🎲)

`options` include: :business-connection-id, :message-thread-id, :emoji, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#senddice)
sourceraw docstring

send-documentclj/s

(send-document bot chat-id document & options)

Send a document file.

options include: :business-connection-id, :message-thread-id, :caption, :parse-mode, :caption-entities, :disable-content-type-detection, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#senddocument)

Send a document file.

`options` include: :business-connection-id, :message-thread-id, :caption, :parse-mode, :caption-entities, :disable-content-type-detection, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#senddocument)
sourceraw docstring

send-gameclj/s

(send-game bot chat-id game-short-name & options)

Send a game.

options include: :business-connection-id, :message-thread-id, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendgame)

Send a game.

`options` include: :business-connection-id, :message-thread-id, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendgame)
sourceraw docstring

send-invoiceclj/s

(send-invoice bot
              chat-id
              title
              description
              payload
              provider-token
              currency
              prices
              &
              options)

Send an invoice.

options include: :message-thread-id, :max-tip-amount, :suggested-tip-amounts, :start-parameter, :provider-data, :photo-url, :photo-size, :photo-width, :photo-height, :need-name, :need-phone-number, :need-email, :need-shipping-address, :send-phone-number-to-provider, :send-email-to-provider, :is-flexible, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendinvoice)

Send an invoice.

`options` include: :message-thread-id, :max-tip-amount, :suggested-tip-amounts, :start-parameter, :provider-data, :photo-url, :photo-size, :photo-width, :photo-height, :need-name, :need-phone-number, :need-email, :need-shipping-address, :send-phone-number-to-provider, :send-email-to-provider, :is-flexible, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendinvoice)
sourceraw docstring

send-locationclj/s

(send-location bot chat-id latitude longitude & options)

Send a location.

options include: :business-connection-id, :message-thread-id, :horizontal-accuracy, :live-period, :heading, :proximity-alert-radius, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendlocation)

Send a location.

`options` include: :business-connection-id, :message-thread-id, :horizontal-accuracy, :live-period, :heading, :proximity-alert-radius, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendlocation)
sourceraw docstring

send-media-groupclj/s

(send-media-group bot chat-id media & options)

Send a media group of photos or videos.

options include: :business-connection-id, :message-thread-id, :disable-notification, :protect-content, :message-effect-id, and :reply-parameters.

(https://core.telegram.org/bots/api#sendmediagroup)

Send a media group of photos or videos.

`options` include: :business-connection-id, :message-thread-id, :disable-notification, :protect-content, :message-effect-id, and :reply-parameters.

(https://core.telegram.org/bots/api#sendmediagroup)
sourceraw docstring

send-messageclj/s

(send-message bot chat-id text & options)

Send a message.

options include: :business-connection-id, :message-thread-id, :parse-mode, :entities, :link-preview-options, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendmessage)

Send a message.

`options` include: :business-connection-id, :message-thread-id, :parse-mode, :entities, :link-preview-options, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendmessage)
sourceraw docstring

send-photoclj/s

(send-photo bot chat-id photo & options)

Send a photo.

options include: :business-connection-id, :message-thread-id, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :has-spoiler, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendphoto)

Send a photo.

`options` include: :business-connection-id, :message-thread-id, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :has-spoiler, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendphoto)
sourceraw docstring

send-pollclj/s

(send-poll bot chat-id question poll-options & options)

Send a poll.

options include: :business-connection-id, :message-thread-id, :question-parse-mode, question-entities, :is-anonymous, :type, :allows-multiple-answers, :correct-option-id, :explanation, :explanation-parse-mode, :explanation-entities, :open-period, :close-date, :is-closed, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendpoll)

Send a poll.

`options` include: :business-connection-id, :message-thread-id, :question-parse-mode, question-entities, :is-anonymous, :type, :allows-multiple-answers, :correct-option-id, :explanation, :explanation-parse-mode, :explanation-entities, :open-period, :close-date, :is-closed, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendpoll)
sourceraw docstring

send-stickerclj/s

(send-sticker bot chat-id sticker & options)

Send a sticker.

options include: :business-connection-id, :message-thread-id, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendsticker)

Send a sticker.

`options` include: :business-connection-id, :message-thread-id, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendsticker)
sourceraw docstring

send-venueclj/s

(send-venue bot chat-id latitude longitude title address & options)

Send a venue.

options include: :business-connection-id, :message-thread-id, :foursquare-id, :foursquare-type, :google-place-id, :google-place-type, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendvenue)

Send a venue.

`options` include: :business-connection-id, :message-thread-id, :foursquare-id, :foursquare-type, :google-place-id, :google-place-type, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendvenue)
sourceraw docstring

send-videoclj/s

(send-video bot chat-id video & options)

Send a video.

options include: :business-connection-id, :message-thread-id, :duration, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :has-spoiler, :supports-streaming, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendvideo)

Send a video.

`options` include: :business-connection-id, :message-thread-id, :duration, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :has-spoiler, :supports-streaming, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendvideo)
sourceraw docstring

send-video-noteclj/s

(send-video-note bot chat-id video-note & options)

Send a video note.

options include: :business-connection-id, :message-thread-id, :duration, :length, :thumbnail, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup. (XXX: API returns 'Bad Request: wrong video note length' when length is not given / 2017.05.19.)

(https://core.telegram.org/bots/api#sendvideonote)

Send a video note.

`options` include: :business-connection-id, :message-thread-id, :duration, :length, :thumbnail, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.
(XXX: API returns 'Bad Request: wrong video note length' when length is not given / 2017.05.19.)

(https://core.telegram.org/bots/api#sendvideonote)
sourceraw docstring

send-voiceclj/s

(send-voice bot chat-id voice & options)

Send a voice. (.ogg format only)

options include: :business-connection-id, :message-thread-id, :caption, :parse-mode, :caption-entities, :duration, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendvoice)

Send a voice. (.ogg format only)

`options` include: :business-connection-id, :message-thread-id, :caption, :parse-mode, :caption-entities, :duration, :disable-notification, :protect-content, :message-effect-id, :reply-parameters, and :reply-markup.

(https://core.telegram.org/bots/api#sendvoice)
sourceraw docstring

set-chat-administrator-custom-titleclj/s

(set-chat-administrator-custom-title bot chat-id user-id custom-title)
Set chat administrator's custom title.

(https://core.telegram.org/bots/api#setchatadministratorcustomtitle)
sourceraw docstring

set-chat-descriptionclj/s

(set-chat-description bot chat-id description)
Set a chat description.

(https://core.telegram.org/bots/api#setchatdescription)
sourceraw docstring

set-chat-menu-buttonclj/s

(set-chat-menu-button bot & options)

Set the bot's menu button.

options include: :chat-id, and :menu-button.

(https://core.telegram.org/bots/api#setchatmenubutton)

Set the bot's menu button.

`options` include: :chat-id, and :menu-button.

(https://core.telegram.org/bots/api#setchatmenubutton)
sourceraw docstring

set-chat-permissionsclj/s

(set-chat-permissions bot chat-id & options)

Set chat permissions.

options include: :can-send-messages, :can-send-media-messages, :can-send-polls, :can-send-other-messages, :can-add-web-page-previews, :can-change-info, :can-invite-users, :can-pin-messages, and :use-independent-chat-permissions.

(https://core.telegram.org/bots/api#setchatpermissions)

Set chat permissions.

`options` include: :can-send-messages, :can-send-media-messages, :can-send-polls, :can-send-other-messages, :can-add-web-page-previews, :can-change-info, :can-invite-users, :can-pin-messages, and :use-independent-chat-permissions.

(https://core.telegram.org/bots/api#setchatpermissions)
sourceraw docstring

set-chat-photoclj/s

(set-chat-photo bot chat-id photo)
Set a chat photo.

(https://core.telegram.org/bots/api#setchatphoto)
sourceraw docstring

set-chat-sticker-setclj/s

(set-chat-sticker-set bot chat-id sticker-set-name)
Set a chat sticker set.

(https://core.telegram.org/bots/api#setchatstickerset)
sourceraw docstring

set-chat-titleclj/s

(set-chat-title bot chat-id title)
Set a chat title.

(https://core.telegram.org/bots/api#setchattitle)
sourceraw docstring

set-custom-emoji-sticker-set-thumbnailclj/s

(set-custom-emoji-sticker-set-thumbnail bot name & options)

Set thumbnail of custom emoji sticker set.

options include: custom_emoji_id.

(https://core.telegram.org/bots/api#setcustomemojistickersetthumbnail)

Set thumbnail of custom emoji sticker set.

`options` include: custom_emoji_id.

(https://core.telegram.org/bots/api#setcustomemojistickersetthumbnail)
sourceraw docstring

set-game-scoreclj/s

(set-game-score bot user-id score & options)

Set score for a game.

required options: :chat-id + :message-id (when :inline-message-id is not given) or :inline-message-id (when :chat-id & :message-id are not given)

other options include: :force, and :disable-edit-message.

(https://core.telegram.org/bots/api#setgamescore)

Set score for a game.

required `options`: :chat-id + :message-id (when :inline-message-id is not given)
                    or :inline-message-id (when :chat-id & :message-id are not given)

other `options` include: :force, and :disable-edit-message.

(https://core.telegram.org/bots/api#setgamescore)
sourceraw docstring

set-message-reactionclj/s

(set-message-reaction bot chat-id message-id & options)

Set reactions on a message.

options include: :reaction, and :is-big.

reaction is an array of reaction types(https://core.telegram.org/bots/api)#reactiontype).

(https://core.telegram.org/bots/api#setmessagereaction)

Set reactions on a message.

`options` include: :reaction, and :is-big.

`reaction` is an array of reaction types(https://core.telegram.org/bots/api)#reactiontype).

(https://core.telegram.org/bots/api#setmessagereaction)
sourceraw docstring

set-my-commandsclj/s

(set-my-commands bot commands & options)
Set this bot's commands.

(https://core.telegram.org/bots/api#setmycommands)
sourceraw docstring

set-my-default-administrator-rightsclj/s

(set-my-default-administrator-rights bot & options)

Set my default administrator rights.

options include: :rights, and :for-channels.

(https://core.telegram.org/bots/api#setmydefaultadministratorrights)

Set my default administrator rights.

`options` include: :rights, and :for-channels.

(https://core.telegram.org/bots/api#setmydefaultadministratorrights)
sourceraw docstring

set-my-descriptionclj/s

(set-my-description bot & options)
Set this bot's description.

(https://core.telegram.org/bots/api#setmydescription)
sourceraw docstring

set-my-nameclj/s

(set-my-name bot name & options)
Set this bot's name.

(https://core.telegram.org/bots/api#setmyname)
sourceraw docstring

set-my-short-descriptionclj/s

(set-my-short-description bot & options)
Set this bot's short description.

(https://core.telegram.org/bots/api#setmyshortdescription)
sourceraw docstring

set-sticker-emoji-listclj/s

(set-sticker-emoji-list bot sticker emoji-list)
Set sticker's emoji list.

(https://core.telegram.org/bots/api#setstickeremojilist)
sourceraw docstring

set-sticker-keywordsclj/s

(set-sticker-keywords bot sticker & options)
Set sticker's keywords.

(https://core.telegram.org/bots/api#setstickerkeywords)
sourceraw docstring

set-sticker-mask-positionclj/s

(set-sticker-mask-position bot sticker & options)
Set sticker's mask position.

(https://core.telegram.org/bots/api#setstickermaskposition)
sourceraw docstring

set-sticker-position-in-setclj/s

(set-sticker-position-in-set bot sticker position)

Set a sticker's position in its set.

(https://core.telegram.org/bots/api#setstickerpositioninset)

Set a sticker's position in its set.

(https://core.telegram.org/bots/api#setstickerpositioninset)
sourceraw docstring

set-sticker-set-thumbnailclj/s

(set-sticker-set-thumbnail bot name user-id format & options)

Set thumbnail of a sticker set.

options include: thumbnail.

(https://core.telegram.org/bots/api#setstickersetthumbnail)

Set thumbnail of a sticker set.

`options` include: thumbnail.

(https://core.telegram.org/bots/api#setstickersetthumbnail)
sourceraw docstring

set-sticker-set-titleclj/s

(set-sticker-set-title bot name title)
Set title of sticker set.

(https://core.telegram.org/bots/api#setstickersettitle)
sourceraw docstring

stop-message-live-locationclj/s

(stop-message-live-location bot & options)

Stop a message's live location.

required options: :chat-id + :message-id (when :inline-message-id is not given) or :inline-message-id (when :chat-id & :message-id are not given)

other options include: :business-connection-id, and :reply-markup.

(https://core.telegram.org/bots/api#stopmessagelivelocation)

Stop a message's live location.

required `options`: :chat-id + :message-id (when :inline-message-id is not given)
                    or :inline-message-id (when :chat-id & :message-id are not given)

other `options` include: :business-connection-id, and :reply-markup.

(https://core.telegram.org/bots/api#stopmessagelivelocation)
sourceraw docstring

stop-pollclj/s

(stop-poll bot chat-id message-id & options)

Stop a poll.

options include: :business-connection-id, and :reply-markup.

(https://core.telegram.org/bots/api#stoppoll)

Stop a poll.

`options` include: :business-connection-id, and :reply-markup.

(https://core.telegram.org/bots/api#stoppoll)
sourceraw docstring

stop-polling-updatesclj/s

(stop-polling-updates bot)

Stop polling updates if the bot was polling.

Returns true on success, false otherwise.

Stop polling updates if the bot was polling.

Returns true on success, false otherwise.
sourceraw docstring

unban-chat-memberclj/s

(unban-chat-member bot chat-id user-id & options)

Unban a chat member.

options include: :only-if-banned

(https://core.telegram.org/bots/api#unbanchatmember)

Unban a chat member.

`options` include: :only-if-banned

(https://core.telegram.org/bots/api#unbanchatmember)
sourceraw docstring

unban-chat-sender-chatclj/s

(unban-chat-sender-chat bot chat-id sender-chat-id)

Unban a previously banned channel in a supergroup or a channel.

(https://core.telegram.org/bots/api#unbanchatsenderchat)

Unban a previously banned channel in a supergroup or a channel.

(https://core.telegram.org/bots/api#unbanchatsenderchat)
sourceraw docstring

unhide-general-forum-topicclj/s

(unhide-general-forum-topic bot chat-id)

Unhide the 'General' topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#unhidegeneralforumtopic)

Unhide the 'General' topic in a forum supergroup chat.

(https://core.telegram.org/bots/api#unhidegeneralforumtopic)
sourceraw docstring

unpin-all-chat-messagesclj/s

(unpin-all-chat-messages bot chat-id)
Unpin all chat messages.

(https://core.telegram.org/bots/api#unpinallchatmessages)
sourceraw docstring

unpin-all-forum-topic-messagesclj/s

(unpin-all-forum-topic-messages bot chat-id message-thread-id)

Clear the list of pinned messages in a forum topic.

(https://core.telegram.org/bots/api#unpinallforumtopicmessages)

Clear the list of pinned messages in a forum topic.

(https://core.telegram.org/bots/api#unpinallforumtopicmessages)
sourceraw docstring

unpin-all-general-forum-topic-messagesclj/s

(unpin-all-general-forum-topic-messages bot chat-id)

Unpin all pinned messages in a general forum topic.

(https://core.telegram.org/bots/api#unpinallgeneralforumtopicmessages)

Unpin all pinned messages in a general forum topic.

(https://core.telegram.org/bots/api#unpinallgeneralforumtopicmessages)
sourceraw docstring

unpin-chat-messageclj/s

(unpin-chat-message bot chat-id & options)
Unpin a chat message.

(https://core.telegram.org/bots/api#unpinchatmessage)
sourceraw docstring

upload-sticker-fileclj/s

(upload-sticker-file bot user-id sticker sticker-format)
Upload a sticker file.

(https://core.telegram.org/bots/api#uploadstickerfile)
sourceraw docstring

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

× close