Bot

Forward messages

Changed on

Forwards up to 100 accessible messages and returns their new IDs. Missing source IDs are skipped. Set copy to send them without forward headers.

post/bot{token}/forwardMessages

Request

  • Base URL
    https://api.inline.chat
  • Auth
    none required

Path parameters

tokenstring required

Required bot token included in the URL path.

Headers

authorizationstring

Optional bot token using the Bearer scheme. When supplied, it takes precedence over the token in the URL.

Request body

chat_idinteger required

A positive Inline chat identifier

from_chat_idinteger required

A positive Inline chat identifier

message_idsMessageId[] required
copyboolean

Send as new messages without a forward header, like Telegram's copyMessage. Media is copied into the bot's ownership. Defaults to false.

Response

BotForwardMessagesSuccess

oktrue required

Always true for a successful request.

Changes