(add-sticker-to-set bot user-id name sticker)Add a sticker to a set.
Add a sticker to a set. (https://core.telegram.org/bots/api#addstickertoset)
(answer-callback-query bot callback-query-id & options)Answer a callback query.
options include:
:text, :show-alert, :url, and :cache-time.
Answer a callback query. `options` include: :text, :show-alert, :url, and :cache-time. (https://core.telegram.org/bots/api#answercallbackquery)
(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.
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-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.
Answer a pre-checkout query. If `ok` is false, :error-message should be included in `options`. (https://core.telegram.org/bots/api#answerprecheckoutquery)
(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.
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-web-app-query bot web-app-query-id result)Answer a web app query.
Answer a web app query. (https://core.telegram.org/bots/api#answerwebappquery)
(approve-chat-join-request bot chat-id user-id)Approve chat join request.
Approve chat join request. (https://core.telegram.org/bots/api#approvechatjoinrequest)
(ban-chat-member bot chat-id user-id & options)Ban a chat member.
options include:
:until-date, and :revoke-messages.
Ban a chat member. `options` include: :until-date, and :revoke-messages. (https://core.telegram.org/bots/api#banchatmember)
(ban-chat-sender-chat bot chat-id sender-chat-id)Ban a channel chat in a supergroup or a channel.
Ban a channel chat in a supergroup or a channel. (https://core.telegram.org/bots/api#banchatsenderchat)
(close-bot bot)Close the bot instance.
Close the bot instance. (https://core.telegram.org/bots/api#close)
(close-forum-topic bot chat-id message-thread-id)Close an open topic in a forum supergroup chat.
Close an open topic in a forum supergroup chat. (https://core.telegram.org/bots/api#closeforumtopic)
(close-general-forum-topic bot chat-id)Close an open 'General' topic in a forum supergroup chat.
Close an open 'General' topic in a forum supergroup chat. (https://core.telegram.org/bots/api#closegeneralforumtopic)
(copy-message bot chat-id from-chat-id message-id & options)Copy a message.
options include:
:message-thread-id, :video-start-timestamp, :caption, :parse-mode, :caption-entities,
:show-caption-above-media, :disable-notification, :protect-content,
:allow-paid-broadcast, :reply-parameters, and :reply-markup.
Copy a message. `options` include: :message-thread-id, :video-start-timestamp, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :disable-notification, :protect-content, :allow-paid-broadcast, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#copymessage)
(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.
Copy messages. `options` include: :message-thread-id, :disable-notification, :protect-content, and :remove-caption. (https://core.telegram.org/bots/api#copymessages)
(create-chat-invite-link bot chat-id & options)Create a chat invite link.
Create a chat invite link. (https://core.telegram.org/bots/api#createchatinvitelink)
(create-chat-subscription-invite-link bot
chat-id
subscription-period
subscription-price
&
options)Create a subscription invite link for a channel chat.
(https://core.telegram.org/bots/api#createchatsubscriptioninvitelink)
Create a subscription invite link for a channel chat. (https://core.telegram.org/bots/api#createchatsubscriptioninvitelink)
(create-forum-topic bot chat-id name & options)Create a topic in a forum supergroup chat.
Create a topic in a forum supergroup chat. (https://core.telegram.org/bots/api#createforumtopic)
(create-invoice-link bot title description payload currency prices & options)Create a link for an invoice.
options include:
:business-connection-id, :provider-token, :subscription-period,
: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.
Create a link for an invoice. `options` include: :business-connection-id, :provider-token, :subscription-period, :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-new-sticker-set bot user-id name title stickers & options)Create a new sticker set.
options include:
:sticker-type, and :needs-repainting.
Create a new sticker set. `options` include: :sticker-type, and :needs-repainting. (https://core.telegram.org/bots/api#createnewstickerset)
(decline-chat-join-request bot chat-id user-id)Decline chat join request.
Decline chat join request. (https://core.telegram.org/bots/api#declinechatjoinrequest)
(delete-chat-photo bot chat-id)Delete a chat photo.
Delete a chat photo. (https://core.telegram.org/bots/api#deletechatphoto)
(delete-chat-sticker-set bot chat-id)Delete a chat sticker set.
Delete a chat sticker set. (https://core.telegram.org/bots/api#deletechatstickerset)
(delete-forum-topic bot chat-id message-thread-id)Delete a forum topic along with all its messages in a forum supergroup chat.
Delete a forum topic along with all its messages in a forum supergroup chat. (https://core.telegram.org/bots/api#deleteforumtopic)
(delete-message bot chat-id message-id)Delete a message.
Delete a message. (https://core.telegram.org/bots/api#deletemessage)
(delete-messages bot chat-id message-ids)Delete messages.
Delete messages. (https://core.telegram.org/bots/api#deletemessages)
(delete-my-commands bot & options)Delete this bot's commands.
Delete this bot's commands. (https://core.telegram.org/bots/api#deletemycommands)
(delete-sticker-from-set bot sticker)Delete a sticker from its set.
Delete a sticker from its set. (https://core.telegram.org/bots/api#deletestickerfromset)
(delete-sticker-set bot name)Delete sticker set.
Delete sticker set. (https://core.telegram.org/bots/api#deletestickerset)
(delete-webhook bot & options)Delete webhook for polling messages.
Delete webhook for polling messages. (https://core.telegram.org/bots/api#deletewebhook)
(edit-chat-invite-link bot chat-id invite-link & options)Edit a chat invite link.
Edit a chat invite link. (https://core.telegram.org/bots/api#editchatinvitelink)
(edit-chat-subscription-invite-link bot chat-id invite-link & options)Edit a subscription invite link created by the bot.
(https://core.telegram.org/bots/api#editchatsubscriptioninvitelink)
Edit a subscription invite link created by the bot. (https://core.telegram.org/bots/api#editchatsubscriptioninvitelink)
(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.
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-general-forum-topic bot chat-id name)Edit the name of the 'General' topic in a forum supergroup chat.
Edit the name of the 'General' topic in a forum supergroup chat. (https://core.telegram.org/bots/api#editgeneralforumtopic)
(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.
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-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)(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.
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-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.
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-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.
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-user-star-subscription bot user-id telegram-payment-charge-id is-canceled)Edit a user's star subscription.
(https://core.telegram.org/bots/api#edituserstarsubscription)
Edit a user's star subscription. (https://core.telegram.org/bots/api#edituserstarsubscription)
(export-chat-invite-link bot chat-id)Export a chat invite link.
Export a chat invite link. (https://core.telegram.org/bots/api#exportchatinvitelink)
(forward-message bot chat-id from-chat-id message-id & options)Forward a message.
options include:
:message-thread-id, :video-start-timestamp, :disable-notification, and :protect-content.
Forward a message. `options` include: :message-thread-id, :video-start-timestamp, :disable-notification, and :protect-content. (https://core.telegram.org/bots/api#forwardmessage)
(forward-messages bot chat-id from-chat-id message-ids & options)Forward messages.
options include:
:message-thread-id, :disable-notification, and :protect-content.
Forward messages. `options` include: :message-thread-id, :disable-notification, and :protect-content. (https://core.telegram.org/bots/api#forwardmessages)
(get-available-gifts bot)Get availabe gifts.
Get availabe gifts. (https://core.telegram.org/bots/api#getavailablegifts)
(get-business-connection bot business-connection-id)Get business connection of this bot.
Get business connection of this bot. (https://core.telegram.org/bots/api#getbusinessconnection)
(get-chat bot chat-id)Fetch a chat.
Fetch a chat. (https://core.telegram.org/bots/api#getchat)
(get-chat-administrators bot chat-id)Fetch chat administrators.
Fetch chat administrators. (https://core.telegram.org/bots/api#getchatadministrators)
(get-chat-member bot chat-id user-id)Fetch a chat member.
Fetch a chat member. (https://core.telegram.org/bots/api#getchatmember)
(get-chat-member-count bot chat-id)Fetch the count of chat members.
Fetch the count of chat members. (https://core.telegram.org/bots/api#getchatmembercount)
(get-chat-menu-button bot & options)Get the bot's menu button.
options include:
:chat-id.
Get the bot's menu button. `options` include: :chat-id. (https://core.telegram.org/bots/api#getchatmenubutton)
(get-custom-emoji-stickers bot ids)Fetch custom emoji stickers.
Fetch custom emoji stickers. (https://core.telegram.org/bots/api#getcustomemojistickers)
(get-file bot file-id)Fetch a file's info.
Fetch a file's info. (https://core.telegram.org/bots/api#getfile)
(get-forum-topic-icon-stickers bot)Get custom emoji stickers.
(https://core.telegram.org/bots/api#getforumtopiciconstickers)
Get custom emoji stickers. (https://core.telegram.org/bots/api#getforumtopiciconstickers)
(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)
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)(get-me bot)Fetch this bot's info.
Fetch this bot's info. (https://core.telegram.org/bots/api#getme)
(get-my-commands bot & options)Get this bot's commands.
Get this bot's commands. (https://core.telegram.org/bots/api#getmycommands)
(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)
(get-my-description bot & options)Get this bot's description.
Get this bot's description. (https://core.telegram.org/bots/api#getmydescription)
(get-my-name bot & options)Get this bot's name.
Get this bot's name. (https://core.telegram.org/bots/api#getmyname)
(get-my-short-description bot & options)Get this bot's short description.
Get this bot's short description. (https://core.telegram.org/bots/api#getmyshortdescription)
(get-star-transactions bot & options)Get star transactions.
Get star transactions. (https://core.telegram.org/bots/api#getstartransactions)
(get-sticker-set bot name)Fetch a sticker set.
Fetch a sticker set. (https://core.telegram.org/bots/api#getstickerset)
(get-updates bot & options)Fetch updates for this bot.
options include:
:offset, :limit, :timeout, and :allowed-updates.
Fetch updates for this bot. `options` include: :offset, :limit, :timeout, and :allowed-updates. (https://core.telegram.org/bots/api#getupdates)
(get-user-chat-boosts bot chat-id user-id)Get chat boosts of a user.
Get chat boosts of a user. (https://core.telegram.org/bots/api#getuserchatboosts)
(get-user-profile-photos bot user-id & options)Fetch user profile photos.
options include:
:offset, and :limit.
Fetch user profile photos. `options` include: :offset, and :limit. (https://core.telegram.org/bots/api#getuserprofilephotos)
(hide-general-forum-topic bot chat-id)Hide the 'General' topic in a forum supergroup chat.
Hide the 'General' topic in a forum supergroup chat. (https://core.telegram.org/bots/api#hidegeneralforumtopic)
(leave-chat bot chat-id)Leave a chat.
Leave a chat. (https://core.telegram.org/bots/api#leavechat)
(log-out bot)Log out from the cloud Bot API server.
Log out from the cloud Bot API server. (https://core.telegram.org/bots/api#logout)
(new-bot token & opts)Create a new bot with given token and options.
Create a new bot with given token and options.
(pin-chat-message bot chat-id message-id & options)Pin a chat message.
options include:
:business-connection-id, and :disable-notification.
Pin a chat message. `options` include: :business-connection-id, and :disable-notification. (https://core.telegram.org/bots/api#pinchatmessage)
(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)
(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.
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)
(refund-star-payment bot user-id telegram-payment-charge-id)Refund a successful payment in Telegram Stars.
Refund a successful payment in Telegram Stars. (https://core.telegram.org/bots/api#refundstarpayment)
(remove-chat-verification bot chat-id)Remove a chat verification.
Remove a chat verification. (https://core.telegram.org/bots/api#removechatverification)
(remove-user-verification bot user-id)Remove a user verification.
Remove a user verification. (https://core.telegram.org/bots/api#removeuserverification)
(reopen-forum-topic bot chat-id message-thread-id)Reopen a closed topic in a forum supergroup chat.
Reopen a closed topic in a forum supergroup chat. (https://core.telegram.org/bots/api#reopenforumtopic)
(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)
(replace-sticker-in-set bot user-id name old-sticker sticker)Replace an existing sticker in a sticker set.
Replace an existing sticker in a sticker set. (https://core.telegram.org/bots/api#replacestickerinset)
(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)
(revoke-chat-invite-link bot chat-id invite-link)Revoke a chat invite link.
Revoke a chat invite link. (https://core.telegram.org/bots/api#revokechatinvitelink)
(save-prepared-inline-message bot user-id result & options)Save a prepared inline message.
options include:
:allow-user-chats, :allow-bot-chats, :allow-group-chats, and :allow-channel-chats.
(https://core.telegram.org/bots/api#savepreparedinlinemessage)
Save a prepared inline message. `options` include: :allow-user-chats, :allow-bot-chats, :allow-group-chats, and :allow-channel-chats. (https://core.telegram.org/bots/api#savepreparedinlinemessage)
(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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendanimation)
(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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
Send an audio file. `options` include: :business-connection-id, :message-thread-id, :caption, :parse-mode, :caption-entities, :duration, :performer, :title, :disable-notification, :protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendaudio)
(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.
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-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, :allow-paid-broadcast,
:message-effect-id, :reply-parameters, and :reply-markup.
Send a contact. `options` include: :business-connection-id, :message-thread-id, :last-name, :vcard, :disable-notification, :protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendcontact)
(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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
Send a dice. `emoji` can be one of: 🎲, 🎯, 🏀, ⚽, 🎳, or 🎰. (default: 🎲) `options` include: :business-connection-id, :message-thread-id, :emoji, :disable-notification, :protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#senddice)
(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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#senddocument)
(send-game bot chat-id game-short-name & options)Send a game.
options include:
:business-connection-id, :message-thread-id, :disable-notification,
:protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
Send a game. `options` include: :business-connection-id, :message-thread-id, :disable-notification, :protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendgame)
(send-gift bot gift-id & options)Send a gift.
options include:
:user-id, :chat-id, :pay-for-upgrade, :text, :text-parse-mode, and :text-entities.
Send a gift. `options` include: :user-id, :chat-id, :pay-for-upgrade, :text, :text-parse-mode, and :text-entities. (https://core.telegram.org/bots/api#sendgift)
(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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendinvoice)
(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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
Send a location. `options` include: :business-connection-id, :message-thread-id, :horizontal-accuracy, :live-period, :heading, :proximity-alert-radius, :disable-notification, :protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendlocation)
(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, :allow-paid-broadcast, :message-effect-id, and :reply-parameters.
Send a media group of photos or videos. `options` include: :business-connection-id, :message-thread-id, :disable-notification, :protect-content, :allow-paid-broadcast, :message-effect-id, and :reply-parameters. (https://core.telegram.org/bots/api#sendmediagroup)
(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,
:allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
Send a message. `options` include: :business-connection-id, :message-thread-id, :parse-mode, :entities, :link-preview-options, :disable-notification, :protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendmessage)
(send-paid-media bot chat-id star-count media & options)Send paid media to channel chats.
options include:
:business-connection-id, :payload, :caption, :parse-mode,
:caption-entities, :show-caption-above-media, :disable-notification,
:protect-content, :allow-paid-broadcast, :reply-parameters, and :reply-markup.
Send paid media to channel chats. `options` include: :business-connection-id, :payload, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :disable-notification, :protect-content, :allow-paid-broadcast, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendpaidmedia)
(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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendphoto)
(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, :allow-paid-broadcast,
:message-effect-id, :reply-parameters, and :reply-markup.
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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendpoll)
(send-sticker bot chat-id sticker & options)Send a sticker.
options include:
:business-connection-id, :message-thread-id, :disable-notification,
:protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
Send a sticker. `options` include: :business-connection-id, :message-thread-id, :disable-notification, :protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendsticker)
(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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
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, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendvenue)
(send-video bot chat-id video & options)Send a video.
options include:
:business-connection-id, :message-thread-id, :duration, :width, :height,
:thumbnail, :cover, :start-timestamp, :caption,
:parse-mode, :caption-entities, :show-caption-above-media, :has-spoiler,
:supports-streaming, :disable-notification, :protect-content,
:allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
Send a video. `options` include: :business-connection-id, :message-thread-id, :duration, :width, :height, :thumbnail, :cover, :start-timestamp, :caption, :parse-mode, :caption-entities, :show-caption-above-media, :has-spoiler, :supports-streaming, :disable-notification, :protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendvideo)
(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, :allow-paid-broadcast,
: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.)
Send a video note. `options` include: :business-connection-id, :message-thread-id, :duration, :length, :thumbnail, :disable-notification, :protect-content, :allow-paid-broadcast, :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-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,
:allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup.
Send a voice. (.ogg format only) `options` include: :business-connection-id, :message-thread-id, :caption, :parse-mode, :caption-entities, :duration, :disable-notification, :protect-content, :allow-paid-broadcast, :message-effect-id, :reply-parameters, and :reply-markup. (https://core.telegram.org/bots/api#sendvoice)
(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)
Set chat administrator's custom title. (https://core.telegram.org/bots/api#setchatadministratorcustomtitle)
(set-chat-description bot chat-id description)Set a chat description.
Set a chat description. (https://core.telegram.org/bots/api#setchatdescription)
(set-chat-menu-button bot & options)Set the bot's menu button.
options include:
:chat-id, and :menu-button.
Set the bot's menu button. `options` include: :chat-id, and :menu-button. (https://core.telegram.org/bots/api#setchatmenubutton)
(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.
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-photo bot chat-id photo)Set a chat photo.
Set a chat photo. (https://core.telegram.org/bots/api#setchatphoto)
(set-chat-sticker-set bot chat-id sticker-set-name)Set a chat sticker set.
Set a chat sticker set. (https://core.telegram.org/bots/api#setchatstickerset)
(set-chat-title bot chat-id title)Set a chat title.
Set a chat title. (https://core.telegram.org/bots/api#setchattitle)
(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)
(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.
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-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).
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-my-commands bot commands & options)Set this bot's commands.
Set this bot's commands. (https://core.telegram.org/bots/api#setmycommands)
(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)
(set-my-description bot & options)Set this bot's description.
Set this bot's description. (https://core.telegram.org/bots/api#setmydescription)
(set-my-name bot name & options)Set this bot's name.
Set this bot's name. (https://core.telegram.org/bots/api#setmyname)
(set-my-short-description bot & options)Set this bot's short description.
Set this bot's short description. (https://core.telegram.org/bots/api#setmyshortdescription)
(set-sticker-emoji-list bot sticker emoji-list)Set sticker's emoji list.
Set sticker's emoji list. (https://core.telegram.org/bots/api#setstickeremojilist)
(set-sticker-keywords bot sticker & options)Set sticker's keywords.
Set sticker's keywords. (https://core.telegram.org/bots/api#setstickerkeywords)
(set-sticker-mask-position bot sticker & options)Set sticker's mask position.
Set sticker's mask position. (https://core.telegram.org/bots/api#setstickermaskposition)
(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)
(set-sticker-set-thumbnail bot name user-id format & options)Set thumbnail of a sticker set.
options include:
:thumbnail.
Set thumbnail of a sticker set. `options` include: :thumbnail. (https://core.telegram.org/bots/api#setstickersetthumbnail)
(set-sticker-set-title bot name title)Set title of sticker set.
Set title of sticker set. (https://core.telegram.org/bots/api#setstickersettitle)
(set-user-emoji-status bot user-id & options)Set user emoji status.
options include:
:emoji-status-custom-emoji-id, and :emoji-status-expiration-date.
Set user emoji status. `options` include: :emoji-status-custom-emoji-id, and :emoji-status-expiration-date. (https://core.telegram.org/bots/api#setuseremojistatus)
(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)(stop-poll bot chat-id message-id & options)Stop a poll.
options include:
:business-connection-id, and :reply-markup.
Stop a poll. `options` include: :business-connection-id, and :reply-markup. (https://core.telegram.org/bots/api#stoppoll)
(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.
(unban-chat-member bot chat-id user-id & options)Unban a chat member.
options include:
:only-if-banned.
Unban a chat member. `options` include: :only-if-banned. (https://core.telegram.org/bots/api#unbanchatmember)
(unban-chat-sender-chat bot chat-id sender-chat-id)Unban a previously banned channel in a supergroup or a channel.
Unban a previously banned channel in a supergroup or a channel. (https://core.telegram.org/bots/api#unbanchatsenderchat)
(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)
(unpin-all-chat-messages bot chat-id)Unpin all chat messages.
Unpin all chat messages. (https://core.telegram.org/bots/api#unpinallchatmessages)
(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)
(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)
(unpin-chat-message bot chat-id & options)Unpin a chat message.
options include:
:business-connection-id, and :message-id.
Unpin a chat message. `options` include: :business-connection-id, and :message-id. (https://core.telegram.org/bots/api#unpinchatmessage)
(upload-sticker-file bot user-id sticker sticker-format)Upload a sticker file.
Upload a sticker file. (https://core.telegram.org/bots/api#uploadstickerfile)
(verify-chat bot chat-id & options)Verify a chat.
options include:
:custom_description.
Verify a chat. `options` include: :custom_description. (https://core.telegram.org/bots/api#verifychat)
(verify-user bot user-id & options)Verify a user.
options include:
:custom_description.
Verify a user. `options` include: :custom_description. (https://core.telegram.org/bots/api#verifyuser)
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |