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/forwardMessages

Request

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

Headers

authorizationstring required

Required bot token using the Bearer scheme.

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