Implement sending link previews

Fixes #276
This commit is contained in:
AsamK 2022-05-25 23:23:33 +02:00
parent 0f701df91f
commit b178c7c67a
8 changed files with 95 additions and 9 deletions

View file

@ -253,6 +253,20 @@ Specify the message of the original message.
*--quote-mention*::
Specify the mentions of the original message (same format as `--mention`).
*--preview-url*::
Specify the url for the link preview.
The same url must also appear in the message body, otherwise the preview won't be
displayed by the apps.
*--preview-title*::
Specify the title for the link preview (mandatory).
*--preview-description*::
Specify the description for the link preview (optional).
*--preview-image*::
Specify the image file for the link preview (optional).
*-e*, *--end-session*::
Clear session state and send end session message.