- uname -a | signal-cli -u USERNAME send [RECIPIENT [RECIPIENT ...]]
-
-* Receive messages
-
- signal-cli -u USERNAME receive
-
-* Groups
-
- * Create a group
-
- signal-cli -u USERNAME updateGroup -n "Group name" -m [MEMBER [MEMBER ...]]
-
- * Update a group
-
- signal-cli -u USERNAME updateGroup -g GROUP_ID -n "New group name" -a "AVATAR_IMAGE_FILE"
-
- * Add member to a group
-
- signal-cli -u USERNAME updateGroup -g GROUP_ID -m "NEW_MEMBER"
-
- * Leave a group
-
- signal-cli -u USERNAME quitGroup -g GROUP_ID
-
- * Send a message to a group
-
- signal-cli -u USERNAME send -m "This is a message" -g GROUP_ID
-
-* Linking other devices (Provisioning)
-
- * Connect to another device
-
- signal-cli link -n "optional device name"
-
- This shows a "tsdevice:/…" link, if you want to connect to another signal-cli instance, you can just use this link. If you want to link to and Android device, create a QR code with the link (e.g. with [qrencode](https://fukuchi.org/works/qrencode/)) and scan that in the Signal Android app.
-
- * Add another device
-
- signal-cli -u USERNAME addDevice --uri "tsdevice:/…"
-
- The "tsdevice:/…" link is the one shown by the new signal-cli instance or contained in the QR code shown in Signal-Desktop or similar apps.
- Only the master device (that was registered directly, not linked) can add new devices.
-
- * Manage linked devices
-
- signal-cli -u USERNAME listDevices
-
- signal-cli -u USERNAME removeDevice -d DEVICE_ID
-
-* Manage trusted keys