Telegram Assistant Actions

Actions for personal Telegram account automation via MTProto.

Example: Auto-forward Messages

Auto-forward Messages

Forward received messages to another chat

Telegram Assistant

Telegram Update

message
userID
RAW

Telegram Assistant

Forward Messages

fromChatId
userID
toChatId
123456789
messageIds
[latest]

Messaging

ActionDescriptionKey Inputs
Send MessageSend text to a user/chatuserId, message
Edit MessageEdit existing messagechatId, messageId, text
Delete MessagesDelete one or more messageschatId, messageIds
Forward MessagesForward to another chatfromChatId, toChatId, messageIds

Media

ActionDescriptionKey Inputs
Send PhotoSend image to useruserId, photo
Send DocumentSend file to useruserId, document

Chat

ActionDescriptionKey Inputs
Get Chat InfoGet chat detailschatId
Get Chat HistoryGet message historychatId, limit
Search MessagesSearch by text querychatId, query
Mark as ReadMark messages as readchatId, maxId
Pin MessagePin a messagechatId, messageId
Unpin MessageUnpin a messagechatId, messageId

Users

ActionDescriptionKey Inputs
Get User InfoGet user detailsuserId
Get ContactsGet contact list—