Telegram Bot API
🌐 English

forwardMessage

Category: Messages · Bot API 10.3 · Official documentation

Forwards a message.

Returns: On success, returns Message.

Parameters

ParameterTypeRequiredDescription
chat_idInteger or StringYesTarget chat ID
message_thread_idIntegerOptionalForum topic ID
direct_messages_topic_idIntegerOptionalDirect messages topic ID (Bot API 10.0)
from_chat_idInteger or StringYesSource chat ID
video_start_timestampIntegerOptionalVideo start timestamp (Bot API 10.0)
disable_notificationBooleanOptionalSend silently
protect_contentBooleanOptionalProtect content
message_effect_idStringOptionalMessage effect ID
suggested_post_parametersSuggestedPostParametersOptionalJSON SuggestedPostParameters object
message_idIntegerYesForwarded message ID

Parameter descriptions are concise summaries; see the official documentation for the full text.

Example request

curl

curl -s -X POST "https://api.telegram.org/bot$TOKEN/forwardMessage" \
  -H "Content-Type: application/json" \
  -d '{"chat_id":123456789,"from_chat_id":123456789,"message_id":42}'

Python

import requests

TOKEN = "123456789:AAEexampleTokenReplaceWithYours"
resp = requests.post(
    f"https://api.telegram.org/bot{TOKEN}/forwardMessage",
    json={
        "chat_id": 123456789,
        "from_chat_id": 123456789,
        "message_id": 42
    },
    timeout=30,
)
print(resp.json())

JavaScript

const TOKEN = "123456789:AAEexampleTokenReplaceWithYours";
const res = await fetch(`https://api.telegram.org/bot${TOKEN}/forwardMessage`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "chat_id": 123456789,
    "from_chat_id": 123456789,
    "message_id": 42
  }),
});
console.log(await res.json());

Step-by-step guide: How to Send a Message with the Telegram Bot API (sendMessage)