Liking cljdoc? Tell your friends :D

meinside.clogram


add-sticker-to-setclj

(add-sticker-to-set bot user-id name sticker emojis & options)

Add a sticker to a set.

options include: :mask-position

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

Add a sticker to a set.

`options` include: :mask-position

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

answer-callback-queryclj

(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)
raw docstring

answer-inline-queryclj

(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)
raw docstring

answer-pre-checkout-queryclj

(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)
raw docstring

answer-shipping-queryclj

(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)
raw docstring

create-new-sticker-setclj

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

Create a new sticker set.

options include: :contains-masks and :mask-position

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

Create a new sticker set.

`options` include: :contains-masks and :mask-position

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

default-interval-secondsclj


default-limit-countclj


default-timeout-secondsclj


delete-chat-photoclj

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

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

delete-chat-sticker-setclj

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

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

delete-messageclj

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

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

delete-sticker-from-setclj

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

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

delete-webhookclj

(delete-webhook bot)

Delete webhook for polling messages.

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

Delete webhook for polling messages.

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

edit-message-captionclj

(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: :parse-mode, 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: :parse-mode, and :reply-markup.

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

edit-message-live-locationclj

(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: :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: :reply-markup.

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

edit-message-mediaclj

(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: :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: :reply-markup.

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

edit-message-reply-markupclj

(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: :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: :reply-markup.

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

edit-message-textclj

(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: :parse-mode, :disable-web-page-preview, 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: :parse-mode, :disable-web-page-preview, and :reply-markup.

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

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

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

forward-messageclj

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

Forward a message.

options include: :disable-notification.

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

Forward a message.

`options` include: :disable-notification.

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

get-chatclj

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

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

get-chat-administratorsclj

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

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

get-chat-memberclj

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

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

get-chat-members-countclj

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

Fetch the count of chat members.

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

Fetch the count of chat members.

(https://core.telegram.org/bots/api#getchatmemberscount)
raw docstring

get-fileclj

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

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

get-file-urlclj

(get-file-url bot file-path)

Generate a file's url from given :file-path.

Generate a file's url from given :file-path.
raw docstring

get-game-highscoresclj

(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)
raw docstring

get-meclj

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

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

get-sticker-setclj

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

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

get-updatesclj

(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)
raw docstring

get-user-profile-photosclj

(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)
raw docstring

kick-chat-memberclj

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

Kick a chat member.

options include: :until-date

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

Kick a chat member.

`options` include: :until-date

(https://core.telegram.org/bots/api#kickchatmember)
raw docstring

leave-chatclj

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

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

new-botclj

(new-bot token & opts)

Create a new bot with given token and options.

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

pin-chat-messageclj

(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)
raw docstring

poll-updatesclj

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

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

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.

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)
raw docstring

promote-chat-memberclj

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

Promote a chat member.

options include: :can-change-info, :can-post-messages, :can-edit-messages, :can-delete-messages, :can-invite-users, :can-restrict-members, :can-pin-messages, and :can-promote-members.

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

Promote a chat member.

`options` include: :can-change-info, :can-post-messages, :can-edit-messages, :can-delete-messages, :can-invite-users, :can-restrict-members, :can-pin-messages, and :can-promote-members.

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

restrict-chat-memberclj

(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, 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, and :until-date.

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

send-animationclj

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

Send an animation.

options include: :duration, :width, :height, :thumb, :caption, :parse-mode, :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send an animation.

`options` include: :duration, :width, :height, :thumb, :caption, :parse-mode, :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-audioclj

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

Send an audio file.

options include: :caption, :parse-mode, :duration, :performer, :title, :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send an audio file.

`options` include: :caption, :parse-mode, :duration, :performer, :title, :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-chat-actionclj

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

Send a chat action.

action can be one of: :typing, :upload_photo, :record_video, :upload_video, :record_audio, :upload_audio, :upload_document, :find_location, :record_video_note, or :upload_video_note.

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

Send a chat action.

`action` can be one of: :typing, :upload_photo, :record_video, :upload_video, :record_audio, :upload_audio, :upload_document, :find_location, :record_video_note, or :upload_video_note.

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

send-contactclj

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

Send a contact.

options include: :last-name, :vcard, :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send a contact.

`options` include: :last-name, :vcard, :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-documentclj

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

Send a document file.

options include: :caption, :parse-mode, :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send a document file.

`options` include: :caption, :parse-mode, :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-gameclj

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

Send a game.

options include: :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send a game.

`options` include: :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-invoiceclj

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

Send an invoice.

options include: :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, :reply-to-message-id and :reply-markup.

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

Send an invoice.

`options` include: :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, :reply-to-message-id and :reply-markup.

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

send-locationclj

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

Send a location.

options include: :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send a location.

`options` include: :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-media-groupclj

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

Send a media group of photos or videos.

options include: :disable-notification, and :reply-to-message-id.

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

Send a media group of photos or videos.

`options` include: :disable-notification, and :reply-to-message-id.

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

send-messageclj

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

Send a message.

options include: :parse-mode, :disable-web-page-preview, :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send a message.

`options` include: :parse-mode, :disable-web-page-preview, :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-photoclj

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

Send a photo.

options include: :caption, :parse-mode, :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send a photo.

`options` include: :caption, :parse-mode, :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-pollclj

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

Send a poll.

options include: :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send a poll.

`options` include: :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-stickerclj

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

Send a sticker.

options include: disable_notification, reply_to_message_id, and reply_markup.

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

Send a sticker.

`options` include: disable_notification, reply_to_message_id, and reply_markup.

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

send-venueclj

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

Send a venue.

options include: :foursquare-id, :foursquare-type, :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send a venue.

`options` include: :foursquare-id, :foursquare-type, :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-videoclj

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

Send a video.

options include: :duration, :caption, :parse-mode, :supports-streaming, :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send a video.

`options` include: :duration, :caption, :parse-mode, :supports-streaming, :disable-notification, :reply-to-message-id, and :reply-markup.

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

send-video-noteclj

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

Send a video note.

options include: :duration, :length, :disable-notification, :reply-to-message-id, 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: :duration, :length, :disable-notification, :reply-to-message-id, 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)
raw docstring

send-voiceclj

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

Send a voice. (.ogg format only)

options include: :caption, :parse-mode, :duration, :disable-notification, :reply-to-message-id, and :reply-markup.

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

Send a voice. (.ogg format only)

`options` include: :caption, :parse-mode, :duration, :disable-notification, :reply-to-message-id, and :reply-markup.

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

set-chat-descriptionclj

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

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

set-chat-permissionclj

(set-chat-permission 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, and :can-pin-messages.

(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, and :can-pin-messages.

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

set-chat-photoclj

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

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

set-chat-sticker-setclj

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

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

set-chat-titleclj

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

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

set-game-scoreclj

(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)
raw docstring

set-sticker-position-in-setclj

(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)
raw docstring

stop-message-live-locationclj

(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: :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: :reply-markup.

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

stop-pollclj

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

Stop a poll.

options include: :reply-markup.

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

Stop a poll.

`options` include: :reply-markup.

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

stop-polling-updatesclj

(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.
raw docstring

unban-chat-memberclj

(unban-chat-member bot chat-id user-id)
Unban a chat member.

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

unpin-chat-messageclj

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

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

upload-sticker-fileclj

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

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

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

× close