Formats a plain message into a webhook JSON payload for the given format.
The webhook payload format (slack/discord/plain).
The message text to include.
JSON string ready to POST.
Formats a plain message into a webhook JSON payload for the given format.