{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Body of the forward route: copy a message into another channel or thread.",
"properties": {
"attachments": {
"default": true,
"description": "Copy the source's files too (default `true`). `false` forwards the text only.",
"type": "boolean"
},
"body": {
"description": "An optional comment, at most 16 KiB.",
"type": [
"string",
"null"
]
},
"channel_id": {
"description": "The destination channel.",
"pattern": "^[1-9][0-9]{0,18}$",
"type": "string"
},
"nonce": {
"description": "A client nonce, 1–64 characters, echoed back.",
"maxLength": 64,
"minLength": 1,
"type": [
"string",
"null"
]
},
"suppress_previews": {
"description": "Build no link previews for the forward's comment.",
"type": "boolean"
},
"thread_root_id": {
"description": "The destination thread.",
"pattern": "^[1-9][0-9]{0,18}$",
"type": [
"string",
"null"
]
}
},
"required": [
"channel_id"
],
"title": "ForwardMessageRequest",
"type": "object"
}