Liking cljdoc? Tell your friends :D
Clojure only.

telegrambot-lib.edit.protocol

Telegram Bot API Updating/Modifying Messages - protocol definitions.

Telegram Bot API Updating/Modifying Messages - protocol definitions.
- <https://core.telegram.org/bots/api#updating-messages>
raw docstring

Editcljprotocol

The following methods allow you to change an existing message in the message history instead of sending a new one with a result of an action. This is most useful for messages with inline keyboards using callback queries, but can also help reduce clutter in conversations with regular chat bots.

The following methods allow you to change an existing message in the message
history instead of sending a new one with a result of an action.
This is most useful for messages with inline keyboards using callback queries,
but can also help reduce clutter in conversations with regular chat bots.

stop-pollclj

(stop-poll this content)
(stop-poll this chat_id message_id)
(stop-poll this chat_id message_id & optional)

Use this method to stop a poll which was sent by the bot. On success, the stopped Poll with the final results is returned.

Use this method to stop a poll which was sent by the bot.
On success, the stopped Poll with the final results is returned.

edit-message-reply-markupclj

(edit-message-reply-markup this content)
(edit-message-reply-markup this chat_id message_id reply_markup)

Use this method to edit only the reply markup of messages. On success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned.

Use this method to edit only the reply markup of messages.
On success, if edited message is sent by the bot, the edited Message is
returned, otherwise True is returned.

edit-message-text-inlineclj

(edit-message-text-inline this content)
(edit-message-text-inline this inline_message_id text)
(edit-message-text-inline this inline_message_id text & optional)

Use this method to edit inline text and game messages. On success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned.

Use this method to edit inline text and game messages.
On success, if edited message is sent by the bot, the edited Message is
returned, otherwise True is returned.

edit-message-textclj

(edit-message-text this content)
(edit-message-text this chat_id message_id text)
(edit-message-text this chat_id message_id text & optional)

Use this method to edit text and game messages. On success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned.

Use this method to edit text and game messages.
On success, if edited message is sent by the bot, the edited Message is
returned, otherwise True is returned.

edit-message-caption-inlineclj

(edit-message-caption-inline this content)
(edit-message-caption-inline this inline_message_id caption)
(edit-message-caption-inline this inline_message_id caption & optional)

Use this method to edit captions of inline messages. On success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned.

Use this method to edit captions of inline messages.
On success, if edited message is sent by the bot, the edited Message is
returned, otherwise True is returned.

edit-message-captionclj

(edit-message-caption this content)
(edit-message-caption this chat_id message_id caption)
(edit-message-caption this chat_id message_id caption & optional)

Use this method to edit captions of messages. On success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned.

Use this method to edit captions of messages.
On success, if edited message is sent by the bot, the edited Message is
returned, otherwise True is returned.

edit-message-media-inlineclj

(edit-message-media-inline this content)
(edit-message-media-inline this inline_message_id media)
(edit-message-media-inline this inline_message_id media & optional)

Use this method to edit inline animation, audio, document, photo, or video messages. If a message is a part of a message album, then it can be edited only to a photo or a video. Otherwise, message type can be changed arbitrarily. When inline message is edited, new file can't be uploaded. Use previously uploaded file via its file_id or specify a URL. On success, if the edited message was sent by the bot, the edited Message is returned, otherwise True is returned.

Use this method to edit inline animation, audio, document, photo, or video messages.
If a message is a part of a message album, then it can be edited only to a
photo or a video. Otherwise, message type can be changed arbitrarily.
When inline message is edited, new file can't be uploaded.
Use previously uploaded file via its file_id or specify a URL.
On success, if the edited message was sent by the bot, the edited Message
is returned, otherwise True is returned.

delete-messageclj

(delete-message this content)
(delete-message this chat_id message_id)

Use this method to delete a message, including service messages. Returns True on success.

Use this method to delete a message, including service messages.
Returns True on success.

edit-message-reply-markup-inlineclj

(edit-message-reply-markup-inline this content)
(edit-message-reply-markup-inline this inline_message_id reply_markup)

Use this method to edit only the reply markup of messages. On success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned.

Use this method to edit only the reply markup of messages.
On success, if edited message is sent by the bot, the edited Message is
returned, otherwise True is returned.

edit-message-mediaclj

(edit-message-media this content)
(edit-message-media this chat_id message_id media)
(edit-message-media this chat_id message_id media & optional)

Use this method to edit animation, audio, document, photo, or video messages. If a message is a part of a message album, then it can be edited only to a photo or a video. Otherwise, message type can be changed arbitrarily. When inline message is edited, new file can't be uploaded. Use previously uploaded file via its file_id or specify a URL. On success, if the edited message was sent by the bot, the edited Message is returned, otherwise True is returned.

Use this method to edit animation, audio, document, photo, or video messages.
If a message is a part of a message album, then it can be edited only to a
photo or a video. Otherwise, message type can be changed arbitrarily.
When inline message is edited, new file can't be uploaded.
Use previously uploaded file via its file_id or specify a URL.
On success, if the edited message was sent by the bot, the edited Message
is returned, otherwise True is returned.
sourceraw docstring

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

× close