Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Revolt

Schemesrevolt://
Cargo featureservice-revolt
Servicehttps://revolt.chat/
Body formatstext (first is the default)
Attachmentsno
Title length100 characters
Body length2,000 characters
Body linesunlimited
Request throttle3000 ms between requests
Vendor URLs acceptedno

URL formats

{schema}://{bot_token}/{targets}

{schema} is one of revolt://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{bot_token}Bot Tokenstringyessecret
{target_channel}Channel IDstringyessecret; must match ^[a-z0-9_-]+$
{targets}Targetslistyesany of target_channel; separated by /

Query parameters

ParameterMeaningTypeDefaultNotes
bot_tokenBot Tokenstringsets {bot_token}
channelTargetslistsets {targets}
icon_urlIcon URLstring
toTargetslistsets {targets}
urlEmbed URLstring

The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.

Examples

Accepted URLs (tokens are fake):

revolt://iiiiiiiiiiiiiiiiiiiiiiii/tttttttttttttttttttttttt
revolt://iiiiiiiiiiiiiiiiiiiiiiii/zzz/aaa/bad!chan/?to=mmm
revolt://iiiiiiiiiiiiiiiiiiiiiiii/tttttttttttttttttttttttt?format=markdown
revolt://iiiiiiiiiiiiiiiiiiiiiiii/tttttttttttttttttttttttt?url=http://localhost
revolt://iiiiiiiiiiiiiiiiiiiiiiii/?to=tttttttttttttttttttttttt
revolt://iiiiiiiiiiiiiiiiiiiiiiii/?channel=tttttttttttttttttttttttt
revolt://iiiiiiiiiiiiiiiiiiiiiiii/tttttttttttttttttttttttt?format=text&url=http://localhost
revolt://iiiiiiiiiiiiiiiiiiiiiiii/tttttttttttttttttttttttt?icon_url=http://localhost/test.jpg

Rejected URLs:

revolt://
revolt://:@/
revolt://?channel=tttttttttttttttttttttttt

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'revolt://iiiiiiiiiiiiiiiiiiiiiiii/tttttttttttttttttttttttt'

Notes

Revolt (revolt://): messages to Revolt channels.

revolt://{bot_token}/{channel_id}[/{channel_id}...]