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

Viber

Schemesviber://
Cargo featureservice-viber
Servicehttps://www.viber.com/
Body formatstext (first is the default)
Attachmentsno
Title lengthno title (merged into the body)
Body length30,000 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://{token}/{targets}

{schema} is one of viber://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{targets}Receiver IDslistyesseparated by /
{token}Authentication Tokenstringyessecret

Query parameters

ParameterMeaningTypeDefaultNotes
avatarBot Avatar URLstring
fromBot Namestring
toReceiver IDslistsets {targets}
tokenAuthentication Tokenstringsets {token}

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):

viber://token/targetx
viber://t1/t2?token=token
viber://token/t1/t2?from=Viber%20Bot
viber://?token=token&to=t5
viber://token/t3?avatar=https://example.com/a.png

Rejected URLs:

viber://
viber:///

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'viber://token/targetx'

Notes

Viber (viber://): messages through a Viber bot.