Bot object.
sendMessage
Sends a text message to a chat.BLP Example
copyMessage
Copies any message. UnlikeforwardMessage, the copy has no link to the original message.
BLP Example
copyMessages
Copies multiple messages.BLP Example
forwardMessage
Forwards a message from one chat to another. Shows the original sender.BLP Example
forwardMessages
Forwards multiple messages from one chat to another.BLP Example
sendLocation
Sends a point on a map.BLP Example
editMessageLiveLocation
Edits a live location message while it is still active.BLP Example
stopMessageLiveLocation
Stops updating a live location before itslive_period expires.
BLP Example
sendVenue
Sends information about a venue (location with a name and address).BLP Example
sendContact
Sends a phone contact.BLP Example
sendPoll
Sends a native Telegram poll.BLP Example
stopPoll
Stops a poll which was sent by the bot.BLP Example
sendDice
Sends an animated emoji that shows a random value.BLP Example
sendChatAction
Shows the user that the bot is doing something. Status lasts 5 seconds or until the bot sends a message.
Available actions:
BLP Example
editMessageText
Edits the text of an existing message sent by the bot.BLP Example
editMessageCaption
Edits the caption of an existing media message sent by the bot.BLP Example
deleteMessage
Deletes a message. Bots can only delete their own messages or messages in groups where they are admin.BLP Example
deleteMessages
Deletes multiple messages simultaneously.BLP Example
setMessageReaction
Sets or removes a reaction (emoji or custom emoji) on a message.BLP Example
sendMessageDraft
Streams a partial text message. Commonly used for streaming AI-generated text.BLP Example
sendChecklist
Sends a checklist message.BLP Example
editMessageChecklist
Edits a checklist message.BLP Example
sendLivePhoto
Sends a live photo.BLP Example
