Implement sendGroupTying dbus method

This commit is contained in:
AsamK 2021-12-11 19:26:15 +01:00
parent 4999487476
commit d9c8711eb0
4 changed files with 56 additions and 26 deletions

View file

@ -237,9 +237,9 @@ Exceptions: Failure, InvalidNumber
sendTyping(recipient<s>, stop<b>) -> <>::
* recipient : Phone number of a single recipient
* targetSentTimestamp : True, if typing state should be stopped
* stop : True, if typing state should be stopped
Exceptions: Failure, GroupNotFound, UntrustedIdentity
Exceptions: Failure, UntrustedIdentity
setContactBlocked(number<s>, block<b>) -> <>::
* number : Phone number affected by method
@ -353,6 +353,12 @@ sendGroupMessage(message<s>, attachments<as>, groupId<ay>) -> timestamp<x>::
Exceptions: GroupNotFound, Failure, AttachmentInvalid, InvalidGroupId
sendGroupTyping(groupId<ay>, stop<b>) -> <>::
* groupId : Byte array representing the internal group identifier
* stop : True, if typing state should be stopped
Exceptions: Failure, GroupNotFound, UntrustedIdentity
sendGroupMessageReaction(emoji<s>, remove<b>, targetAuthor<s>, targetSentTimestamp<x>, groupId<ay>) -> timestamp<x>::
* emoji : Unicode grapheme cluster of the emoji
* remove : Boolean, whether a previously sent reaction (emoji) should be removed