Basic Information

appmixer.telegram.core.SendDocument

Send Document

1.0.0

Public

Sends a file to a Telegram chat. Provide either a public file URL or a Telegram file ID, or pick a stored file to upload. Bot uploads are capped at 50 MB by Telegram.

Input Ports

in

FieldTypeDescription
Chat ID text Numeric chat ID (for example -1002345678901 for a group or channel) or a public @channelusername. The bot must be a member of the chat. Chat IDs are emitted by the New Message trigger.
Document URL or File ID text A public HTTPS file URL, or a Telegram file ID of a document already on Telegram's servers. Leave empty when uploading a stored file instead.
File filepicker Upload a stored file instead of referencing a URL. Takes precedence over Document URL or File ID.
File Name text Override the name shown in Telegram. Defaults to the uploaded file's own name.
Caption textarea Text shown under the document. Up to 1024 characters.
Parse Mode select How to interpret formatting in the text or caption.
Disable Notification toggle Deliver the message silently - recipients get no sound notification.
Protect Content toggle Block forwarding and saving of the sent message.
Thread ID number Target a specific topic in a forum supergroup.
Reply To Message ID number Send this message as a reply to an existing message in the same chat.

Output Ports

out

FieldTypeDescription
Message ID integer -
Thread ID integer -
From object -
Chat object -
Date (Unix Time) integer -
Document object -
Caption string -
Reply To Message object -

Full Metadata