Telegram

Interact with Telegram

Configuration

Send Message

Operation
Send Message
Bot Token*
••••••••
Chat ID*
Enter Telegram Chat ID
Message*
Enter the message to send
Send Message (telegram_message)

Send messages to Telegram channels or users through the Telegram Bot API. Enables direct communication and notifications with message tracking and chat confirmation.

Input
ParameterTypeRequiredDescription
botTokenstringYesYour Telegram Bot API Token
chatIdstringYesTarget Telegram chat ID
textstringYesMessage text to send
Output
ParameterTypeDescription
messagestringSuccess or error message
message_idnumberUnique Telegram message identifier
idnumberChat ID
is_botbooleanWhether the chat is a bot or not
first_namestringChat username (if available)

Send Photo

Operation
Send Photo
Bot Token*
••••••••
Chat ID*
Enter Telegram Chat ID
Photo*
Enter photo URL or file_id
Photo to send. Pass a file_id or HTTP URL
Caption
Enter optional caption
Media caption (optional)
Send Photo (telegram_send_photo)

Send photos to Telegram channels or users through the Telegram Bot API.

Input
ParameterTypeRequiredDescription
botTokenstringYesYour Telegram Bot API Token
chatIdstringYesTarget Telegram chat ID
photostringYesPhoto to send. Pass a file_id or HTTP URL
captionstringNoPhoto caption (optional)
Output
ParameterTypeDescription
messagestringSuccess or error message
message_idnumberUnique Telegram message identifier
idnumberChat ID
is_botbooleanWhether the chat is a bot or not
first_namestringChat username (if available)

Send Video

Operation
Send Video
Bot Token*
••••••••
Chat ID*
Enter Telegram Chat ID
Video*
Enter video URL or file_id
Video to send. Pass a file_id or HTTP URL
Caption
Enter optional caption
Media caption (optional)
Send Video (telegram_send_video)

Send videos to Telegram channels or users through the Telegram Bot API.

Input
ParameterTypeRequiredDescription
botTokenstringYesYour Telegram Bot API Token
chatIdstringYesTarget Telegram chat ID
videostringYesVideo to send. Pass a file_id or HTTP URL
captionstringNoVideo caption (optional)
Output
ParameterTypeDescription
messagestringSuccess or error message
message_idnumberUnique Telegram message identifier
idnumberSender ID
is_botbooleanWhether the chat is a bot or not
first_namestringSender

Send Audio

Operation
Send Audio
Bot Token*
••••••••
Chat ID*
Enter Telegram Chat ID
Audio*
Enter audio URL or file_id
Audio file to send. Pass a file_id or HTTP URL
Caption
Enter optional caption
Media caption (optional)
Send Audio (telegram_send_audio)

Send audio files to Telegram channels or users through the Telegram Bot API.

Input
ParameterTypeRequiredDescription
botTokenstringYesYour Telegram Bot API Token
chatIdstringYesTarget Telegram chat ID
audiostringYesAudio file to send. Pass a file_id or HTTP URL
captionstringNoAudio caption (optional)
Output
ParameterTypeDescription
messagestringSuccess or error message
message_idnumberUnique Telegram message identifier
idnumberSender ID
is_botbooleanWhether the chat is a bot or not
first_namestringSender

Send Animation

Operation
Send Animation
Bot Token*
••••••••
Chat ID*
Enter Telegram Chat ID
Animation*
Enter animation URL or file_id
Animation (GIF) to send. Pass a file_id or HTTP URL
Caption
Enter optional caption
Media caption (optional)
Send Animation (telegram_send_animation)

Send animations (GIFs) to Telegram channels or users through the Telegram Bot API.

Input
ParameterTypeRequiredDescription
botTokenstringYesYour Telegram Bot API Token
chatIdstringYesTarget Telegram chat ID
animationstringYesAnimation to send. Pass a file_id or HTTP URL
captionstringNoAnimation caption (optional)
Output
ParameterTypeDescription
messagestringSuccess or error message
message_idnumberUnique Telegram message identifier
idnumberSender ID
is_botbooleanWhether the chat is a bot or not
first_namestringSender

Send Document

Operation
Send Document
Bot Token*
••••••••
Chat ID*
Enter Telegram Chat ID
Document
Upload document file
Document file to send (PDF, ZIP, DOC, etc.). Max size: 50MB
Document
Reference document from previous blocks
Reference a document file from a previous block
Caption
Enter optional caption
Media caption (optional)
Send Document (telegram_send_document)

Send documents (PDF, ZIP, DOC, etc.) to Telegram channels or users through the Telegram Bot API.

Input
ParameterTypeRequiredDescription
botTokenstringYesYour Telegram Bot API Token
chatIdstringYesTarget Telegram chat ID
filesfile[]NoDocument file to send (PDF, ZIP, DOC, etc.). Max size: 50MB
captionstringNoDocument caption (optional)
Output
ParameterTypeDescription
messagestringSuccess or error message
message_idnumberUnique Telegram message identifier
idnumberSender ID
is_botbooleanWhether the chat is a bot or not
first_namestringSender

Delete Message

Operation
Delete Message
Bot Token*
••••••••
Chat ID*
Enter Telegram Chat ID
Message ID*
Enter the message ID to delete
The unique identifier of the message you want to delete
Delete Message (telegram_delete_message)

Delete messages in Telegram channels or chats through the Telegram Bot API. Requires the message ID of the message to delete.

Input
ParameterTypeRequiredDescription
botTokenstringYesYour Telegram Bot API Token
chatIdstringYesTarget Telegram chat ID
messageIdstringYesMessage ID to delete
Output
ParameterTypeDescription
messagestringSuccess or error message
okbooleanAPI response success status

Usage Instructions

Integrate Telegram into the workflow. Can send and delete messages. Can be used in trigger mode to trigger a workflow when a message is sent to a chat.

Notes

  • Category: tools
  • Type: telegram