Telegram Работайте с Telegram
Telegram — безопасная облачная мессенджер-платформа для быстрой и надёжной коммуникации на любых устройствах. Благодаря мощному Bot API Telegram предоставляет надёжный фундамент для автоматических сообщений и интеграций.
Интеграция Telegram в AACFlow позволяет:
Отправка сообщений : отправляйте текстовые сообщения в чаты, группы или каналы Telegram
Удаление сообщений : удаляйте ранее отправленные сообщения из чата
Отправка фото : отправляйте изображения с необязательной подписью
Отправка видео : отправляйте видеофайлы с необязательной подписью
Отправка аудио : отправляйте аудиофайлы с необязательной подписью
Отправка анимаций : отправляйте GIF-анимации с необязательной подписью
Отправка документов : отправляйте файлы любого типа с необязательной подписью
Интеграция Telegram в AACFlow позволяет вашим AI-агентам отправлять сообщения и медиа в чаты Telegram в рамках автоматизированных воркфлоу. Это идеально для автоматических уведомлений, алертов, распространения контента и интерактивных бот-сценариев.
Узнайте, как создать вебхук-триггер в AACFlow, который бесшовно запускает воркфлоу по сообщениям из Telegram. В этом уроке показано, как настроить вебхук, сконфигурировать его с Bot API Telegram и запускать автоматические действия в реальном времени.
VIDEO
Узнайте, как использовать инструмент Telegram в AACFlow, чтобы бесшовно автоматизировать доставку сообщений в любую группу Telegram. В этом уроке показано, как встроить инструмент в воркфлоу, настроить отправку в группу и запускать автоматические обновления в реальном времени.
VIDEO
Интегрируйте Telegram в рабочий процесс. Может send и delete messages. Can be used in trigger mode to trigger a workflow when a message — это sent to a chat.
Отправить messages to Telegram channels или users through the Telegram Bot API. Enables direct communication и notifications с message tracking и chat confirmation.
Параметр Тип Обязательный Описание botTokenstring Да Your Telegram Bot API Token chatIdstring Да Telegram chat ID (numeric, can be negative for groups) textstring Да Message text to send
Параметр Тип Описание messagestring Success or error message dataobject Telegram message data ↳ message_id number Unique Telegram message identifier ↳ from object Chat information ↳ id number Chat ID ↳ is_bot boolean Произошла ли chat is a bot or not ↳ first_name string Chat username (if available) ↳ username string Chat title (for groups and channels) ↳ chat object Information about the bot that sent the message ↳ id number Bot user ID ↳ first_name string Bot first name ↳ username string Bot username ↳ type string chat type private or channel ↳ date number Unix timestamp when message was sent ↳ text string Text content of the sent message
Удалить messages in Telegram channels или chats through the Telegram Bot API. Требуется the message ID of the message to delete.
Параметр Тип Обязательный Описание botTokenstring Да Your Telegram Bot API Token chatIdstring Да Telegram chat ID (numeric, can be negative for groups) messageIdstring Да Telegram message ID (numeric identifier of the message to delete)
Параметр Тип Описание messagestring Success or error message dataobject Delete operation result ↳ ok boolean API response success status ↳ deleted boolean Произошла ли message was successfully deleted
Отправить photos to Telegram channels или users through the Telegram Bot API.
Параметр Тип Обязательный Описание botTokenstring Да Your Telegram Bot API Token chatIdstring Да Telegram chat ID (numeric, can be negative for groups) photostring Да Photo to send. Pass a file_id or HTTP URL captionstring Нет Photo caption (optional)
Параметр Тип Описание messagestring Success or error message dataobject Telegram message data including optional photo(s) ↳ message_id number Unique Telegram message identifier ↳ from object Chat information ↳ id number Chat ID ↳ is_bot boolean Произошла ли chat is a bot or not ↳ first_name string Chat username (if available) ↳ username string Chat title (for groups and channels) ↳ chat object Information about the bot that sent the message ↳ id number Bot user ID ↳ first_name string Bot first name ↳ username string Bot username ↳ type string Chat type (private, group, supergroup, channel) ↳ date number Unix timestamp when message was sent ↳ text string Text content of the sent message (if applicable) ↳ photo array List of photos included in the message ↳ file_id string Unique file ID of the photo ↳ file_unique_id string Unique identifier for this file across different bots ↳ file_size number Size of the photo file in bytes ↳ width number Photo width in pixels ↳ height number Photo height in pixels
Отправить videos to Telegram channels или users through the Telegram Bot API.
Параметр Тип Обязательный Описание botTokenstring Да Your Telegram Bot API Token chatIdstring Да Telegram chat ID (numeric, can be negative for groups) videostring Да Video to send. Pass a file_id or HTTP URL captionstring Нет Video caption (optional)
Параметр Тип Описание messagestring Success or error message dataobject Telegram message data including optional media ↳ message_id number Unique Telegram message identifier ↳ from object Information about the sender ↳ id number Sender ID ↳ is_bot boolean Произошла ли chat is a bot or not ↳ first_name string Sender's first name (if available) ↳ username string Sender's username (if available) ↳ chat object Information about the chat where message was sent ↳ id number Chat ID ↳ first_name string Chat first name (if private chat) ↳ username string Chat username (for private or channels) ↳ type string Type of chat (private, group, supergroup, or channel) ↳ date number Unix timestamp when the message was sent ↳ text string Text content of the sent message (if applicable) ↳ format object Media format information (for videos, GIFs, etc.) ↳ file_name string Media file name ↳ mime_type string Media MIME type ↳ duration number Duration of media in seconds ↳ width number Media width in pixels ↳ height number Media height in pixels ↳ thumbnail object Thumbnail image details ↳ file_id string Thumbnail file ID ↳ file_unique_id string Unique thumbnail file identifier ↳ file_size number Thumbnail file size in bytes ↳ width number Thumbnail width in pixels ↳ height number Thumbnail height in pixels ↳ thumb object Secondary thumbnail details (duplicate of thumbnail) ↳ file_id string Thumbnail file ID ↳ file_unique_id string Unique thumbnail file identifier ↳ file_size number Thumbnail file size in bytes ↳ width number Thumbnail width in pixels ↳ height number Thumbnail height in pixels ↳ file_id string Media file ID ↳ file_unique_id string Unique media file identifier ↳ file_size number Size of media file in bytes ↳ document object Document file details if the message contains a document ↳ file_name string Document file name ↳ mime_type string Document MIME type ↳ thumbnail object Document thumbnail information ↳ file_id string Thumbnail file ID ↳ file_unique_id string Unique thumbnail file identifier ↳ file_size number Thumbnail file size in bytes ↳ width number Thumbnail width in pixels ↳ height number Thumbnail height in pixels ↳ thumb object Duplicate thumbnail info (used for compatibility) ↳ file_id string Thumbnail file ID ↳ file_unique_id string Unique thumbnail file identifier ↳ file_size number Thumbnail file size in bytes ↳ width number Thumbnail width in pixels ↳ height number Thumbnail height in pixels ↳ file_id string Document file ID ↳ file_unique_id string Unique document file identifier ↳ file_size number Size of document file in bytes
Отправить audio files to Telegram channels или users through the Telegram Bot API.
Параметр Тип Обязательный Описание botTokenstring Да Your Telegram Bot API Token chatIdstring Да Telegram chat ID (numeric, can be negative for groups) audiostring Да Audio file to send. Pass a file_id or HTTP URL captionstring Нет Audio caption (optional)
Параметр Тип Описание messagestring Success or error message dataobject Telegram message data including voice/audio information ↳ message_id number Unique Telegram message identifier ↳ from object Information about the sender ↳ id number Sender ID ↳ is_bot boolean Произошла ли chat is a bot or not ↳ first_name string Sender's first name (if available) ↳ username string Sender's username (if available) ↳ chat object Information about the chat where the message was sent ↳ id number Chat ID ↳ first_name string Chat first name (if private chat) ↳ username string Chat username (for private or channels) ↳ type string Type of chat (private, group, supergroup, or channel) ↳ date number Unix timestamp when the message was sent ↳ text string Text content of the sent message (if applicable) ↳ audio object Audio file details ↳ duration number Duration of the audio in seconds ↳ performer string Performer of the audio ↳ title string Title of the audio ↳ file_name string Original filename of the audio ↳ mime_type string MIME type of the audio file ↳ file_id string Unique file identifier for this audio ↳ file_unique_id string Unique identifier across different bots for this file ↳ file_size number Size of the audio file in bytes
Отправить animations (GIFs) to Telegram channels или users through the Telegram Bot API.
Параметр Тип Обязательный Описание botTokenstring Да Your Telegram Bot API Token chatIdstring Да Telegram chat ID (numeric, can be negative for groups) animationstring Да Animation to send. Pass a file_id or HTTP URL captionstring Нет Animation caption (optional)
Параметр Тип Описание messagestring Success or error message dataobject Telegram message data including optional media ↳ message_id number Unique Telegram message identifier ↳ from object Information about the sender ↳ id number Sender ID ↳ is_bot boolean Произошла ли chat is a bot or not ↳ first_name string Sender's first name (if available) ↳ username string Sender's username (if available) ↳ chat object Information about the chat where message was sent ↳ id number Chat ID ↳ first_name string Chat first name (if private chat) ↳ username string Chat username (for private or channels) ↳ type string Type of chat (private, group, supergroup, or channel) ↳ date number Unix timestamp when the message was sent ↳ text string Text content of the sent message (if applicable) ↳ format object Media format information (for videos, GIFs, etc.) ↳ file_name string Media file name ↳ mime_type string Media MIME type ↳ duration number Duration of media in seconds ↳ width number Media width in pixels ↳ height number Media height in pixels ↳ thumbnail object Thumbnail image details ↳ file_id string Thumbnail file ID ↳ file_unique_id string Unique thumbnail file identifier ↳ file_size number Thumbnail file size in bytes ↳ width number Thumbnail width in pixels ↳ height number Thumbnail height in pixels ↳ thumb object Secondary thumbnail details (duplicate of thumbnail) ↳ file_id string Thumbnail file ID ↳ file_unique_id string Unique thumbnail file identifier ↳ file_size number Thumbnail file size in bytes ↳ width number Thumbnail width in pixels ↳ height number Thumbnail height in pixels ↳ file_id string Media file ID ↳ file_unique_id string Unique media file identifier ↳ file_size number Size of media file in bytes ↳ document object Document file details if the message contains a document ↳ file_name string Document file name ↳ mime_type string Document MIME type ↳ thumbnail object Document thumbnail information ↳ file_id string Thumbnail file ID ↳ file_unique_id string Unique thumbnail file identifier ↳ file_size number Thumbnail file size in bytes ↳ width number Thumbnail width in pixels ↳ height number Thumbnail height in pixels ↳ thumb object Duplicate thumbnail info (used for compatibility) ↳ file_id string Thumbnail file ID ↳ file_unique_id string Unique thumbnail file identifier ↳ file_size number Thumbnail file size in bytes ↳ width number Thumbnail width in pixels ↳ height number Thumbnail height in pixels ↳ file_id string Document file ID ↳ file_unique_id string Unique document file identifier ↳ file_size number Size of document file in bytes
Отправить documents (PDF, ZIP, DOC, etc.) to Telegram channels или users through the Telegram Bot API.
Параметр Тип Обязательный Описание botTokenstring Да Your Telegram Bot API Token chatIdstring Да Telegram chat ID (numeric, can be negative for groups) filesfile[] Нет Document file to send (PDF, ZIP, DOC, etc.). Max size: 50MB captionstring Нет Document caption (optional)
Параметр Тип Описание messagestring Success or error message filesfile[] Files attached to the message dataobject Telegram message data including document ↳ message_id number Unique Telegram message identifier ↳ from object Information about the sender ↳ id number Sender ID ↳ is_bot boolean Произошла ли chat is a bot or not ↳ first_name string Sender's first name (if available) ↳ username string Sender's username (if available) ↳ chat object Information about the chat where message was sent ↳ id number Chat ID ↳ first_name string Chat first name (if private chat) ↳ username string Chat username (for private or channels) ↳ type string Type of chat (private, group, supergroup, or channel) ↳ date number Unix timestamp when the message was sent ↳ document object Document file details ↳ file_name string Document file name ↳ mime_type string Document MIME type ↳ file_id string Document file ID ↳ file_unique_id string Unique document file identifier ↳ file_size number Size of document file in bytes