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

Line

Schemesline://
Cargo featureservice-line
Servicehttps://line.me/
Body formatstext (first is the default)
Attachmentsno
Title lengthno title (merged into the body)
Body length5,000 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

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

{schema} is one of line://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{target_user}Target Userstringno
{targets}Targetslistyesany of target_user; separated by /
{token}Access Tokenstringyessecret

Query parameters

ParameterMeaningTypeDefaultNotes
imageInclude Imageboolyes
toTargetslistsets {targets}

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

line://token=/target
line://token/target2/target1/target2
line://token/target?image=no
line://a/very/long/token=/target?image=no
line://token/a?to=b,%23c
line://?token=token&to=target1

Rejected URLs:

line://
line://%20/

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'line://token=/target'

Notes

LINE (line://): push messages to users or groups through the LINE Messaging API.