diff --git a/man/signal-cli-dbus.5.adoc b/man/signal-cli-dbus.5.adoc index 306f5d1a..f41bcee2 100755 --- a/man/signal-cli-dbus.5.adoc +++ b/man/signal-cli-dbus.5.adoc @@ -491,12 +491,6 @@ setContactName(number,name<>) -> <>:: * number : Phone number * name : Name to be set in contacts (in local storage with signal-cli) -Exceptions: None; for unknown numbers false is returned - -isGroupBlocked(groupId) -> state:: -* groupId : Byte array representing the internal group identifier -* state : true=blocked, false=not blocked - Exceptions: InvalidNumber, Failure setExpirationTimer(number, expiration) -> <>:: @@ -551,17 +545,14 @@ SyncMessageReceived (timestamp, sender, destination, groupId, messa * message : Message text * attachments : String array of filenames in the signal-cli storage (~/.local/share/signal-cli/attachments/) -SyncMessageReceived (timestamp, sender, destination, groupId, message, attachments):: -* timestamp : Integer value that is used by the system to send a ReceiptReceived reply -* sender : Phone number of the sender -* destination : The DBus destination code -* groupId : Byte array representing the internal group identifier (empty when private message) -* message : Message text -* attachments : String array of filenames in the signal-cli storage (~/.local/share/signal-cli/attachments/) - - The sync message is received when the user sends a message from a linked device. +ReceiptReceived (timestamp, sender):: +* timestamp : Integer value that can be used to associate this e.g. with a sendMessage() +* sender : Phone number of the sender + +This signal is sent by each recipient (e.g. each group member) after the message was successfully delivered to the device + MessageReceived(timestamp, sender, groupId, message, attachments):: * timestamp : Integer value that is used by the system to send a ReceiptReceived reply * sender : Phone number of the sender @@ -595,6 +586,15 @@ SyncMessageReceivedV2 (timestamp, sender, destination, groupId, mes The sync message is received when the user sends a message from a linked device. +ReceiptReceivedV2 (timestamp, sender, isDeliveryReceipt, isReadReceipt, isViewedReceipt):: +* timestamp : Integer value that can be used to associate this e.g. with a sendMessage() +* sender : Phone number of the sender +* isDeliveryReceipt : boolean representing whether a delivery receipt was received +* isReadReceipt : boolean representing whether a read receipt was received +* isViewedReceipt : boolean representing whether a viewed receipt was received + +This signal is sent by each recipient (e.g. each group member) after the message was successfully delivered to the device + MessageReceivedV2(timestamp, sender, groupId, message, mentions, attachments):: * timestamp : Integer value that is used by the system to send a ReceiptReceived reply * sender : Phone number of the sender @@ -618,21 +618,6 @@ MessageReceivedV2(timestamp, sender, groupId, message, mentions, sender):: -* timestamp : Integer value that can be used to associate this e.g. with a sendMessage() -* sender : Phone number of the sender - -This signal is sent by each recipient (e.g. each group member) after the message was successfully delivered to the device - -ReceiptReceivedV2 (timestamp, sender, isDeliveryReceipt, isReadReceipt, isViewedReceipt):: -* timestamp : Integer value that can be used to associate this e.g. with a sendMessage() -* sender : Phone number of the sender -* isDeliveryReceipt : boolean representing whether a delivery receipt was received -* isReadReceipt : boolean representing whether a read receipt was received -* isViewedReceipt : boolean representing whether a viewed receipt was received - -This signal is sent by each recipient (e.g. each group member) after the message was successfully delivered to the device - == Examples Send a text message (without attachment) to a contact::