Parameter | Description |
---|---|
Channel ID | The ID of the channel you want to send a message to. |
Content | The message contents. Can be up to 2000 characters. |
{
"type": 1,
"content": "<string>",
"mentions": [],
"mention_roles": [],
"attachments": [],
"embeds": [],
"timestamp": "<string>",
"edited_timestamp": null,
"flags": 1,
"components": [],
"id": "<string>",
"channel_id": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"avatar": null,
"discriminator": "<string>",
"public_flags": 2,
"flags": 1,
"bot": true,
"banner": null,
"accent_color": null,
"global_name": null,
"avatar_decoration_data": null,
"collectibles": null,
"banner_color": null,
"clan": null,
"primary_guild": null
},
"pinned": false,
"mention_everyone": false,
"tts": false
}
Was this page helpful?