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.

delete-messageclj

(delete-message this content)

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-captionclj

(edit-message-caption this content)

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-mediaclj

(edit-message-media this content)

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.

edit-message-reply-markupclj

(edit-message-reply-markup this content)

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-textclj

(edit-message-text this content)

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.

stop-pollclj

(stop-poll this content)

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.
sourceraw docstring

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

× close