Post a message to a guild text or DM channel.

Parameters

ParameterDescription
Channel IDThe ID of the channel you want to send a message to.
ContentThe message contents. Can be up to 2000 characters.

Example Output

{
	"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
}

Workflow Library Example

Send a Report to Discord on Merged Github Pull Request

Preview this Workflow on desktop