forwardMessage
Forwards Telegram messages from a source chat to a target chat by message ID. Use it to relay existing messages; service and protected-content messages cannot be forwarded.
Instructions
Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded. On success, the sent Message is returned.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>",
"from_chat_id": "<from_chat_id>",
"message_id": "<message_id>"
},
"name": "forwardMessage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username` | |
| message_id | Yes | Message identifier in the chat specified in from_chat_id | |
| from_chat_id | Yes | Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format `@username`) | |
| protect_content | No | Protects the contents of the forwarded message from forwarding and saving | |
| message_effect_id | No | Unique identifier of the message effect to be added to the message; only available when forwarding to private chats | |
| message_thread_id | No | Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only | |
| disable_notification | No | Sends the message silently. Users will receive a notification with no sound. | |
| video_start_timestamp | No | New start timestamp for the copied video in the message | |
| direct_messages_topic_id | No | Identifier of the direct messages topic to which the message will be forwarded; required if the message is forwarded to a direct messages chat | |
| suggested_post_parameters | No | An object containing the parameters of the suggested post to send; for direct messages chats only |