Telegram APIMessages
messages.forwardMessages
Forwards messages by their IDs.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
workspaceId*string
Workspace ID
accountId*string
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
params*
Forwards messages by their IDs.
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/messages.forwardMessages" \ -H "Content-Type: application/json" \ -d '{ "params": { "fromPeer": { "_": "inputPeerEmpty" }, "id": [ 0 ], "randomId": [ "string" ], "toPeer": { "_": "inputPeerEmpty" } } }'{ "result": { "_": "updatesTooLong" }}