Commit graph

14 commits

Author SHA1 Message Date
John Freed
f0faba633f update documentation 2021-10-03 15:39:57 +02:00
John Freed
b1a9ed2bd5 Dbus group methods
And update documentation

====
Reimplemented methods
====
removeDevice() -> <>::
- becomes a device method (implemented by AsamK)

updateDeviceName(deviceName<s>) -> <>::
- becomes setDeviceName and is a device method (implemented by AsamK)

setDeviceName(deviceName<s>) -> <>::
- allow changing local name for device (updating AsamK's implementation)

getDevice(deviceId<x>) -> devicePath<o>::
- prevent crash when negative number is given for deviceId (updating AsamK's implementation)

sendTyping(typingAction<b>, groupIdStrings<as>, numbers<as>) -> <>::
- conform to sendTyping command and flesh it out

link() -> deviceLinkUri<s>::
- restore variant where default name is "cli"

====
New device methods
====
getDeviceName() -> deviceName<s>::

====
Already implemented, newly documented methods
====
getSelfNumber() -> number<s>:: (implemented by AsamK)

====
Other new methods
====
getGroupId(groupName<s>) -> groupId<ay>::
getGroupIdStrings() -> groupIdStrings<as>::
getGroupIdString(groupName<s>) -> groupIdString<s>::
getGroupNames() -> groupNames<as>::
updateGroup(groupId<ay>, name<s>, description<s>, addMembers<s>, removeMembers<s>, addAdmins<s>, removeAdmins<s>, resetGroupLink<b>, groupLinkState<s>, addMemberPermission<s>, editDetailsPermission<s>, avatar<s>, expiration<i>, isAnnouncementGroup<b>) -> groupId<ay>::
updateGroup(groupId<ay>, name<s>, description<s>, addMembers<s>, removeMembers<s>, addAdmins<s>, removeAdmins<s>, resetGroupLink<b>, groupLinkState<s>, addMemberPermission<s>, editDetailsPermission<s>, avatar<s>, expiration<i>) -> groupId<ay>::
getGroupInviteUri(groupId<ay>) -> inviteUri<s>::
getGroupAdminMembers(groupId<ay>) -> groupAdminMembers<as>::
getGroupPendingMembers(groupId<ay>) -> groupPendingMembers<as>::
getGroupRequestingMembers(groupId<ay>) -> groupRequestingMembers<as>::
updateMembers(groupId<ay>, members<as>, addToMembers<b>) -> memberList<as>::
updateAdmins(groupId<ay>, admins<as>, addToAdmins<b>) -> adminList<as>::
setGroupAnnounceOnly(groupId<ay>, isAnnouncementGroup<b>) -> <>::
isGroupAnnounceOnly(groupId<ay>) -> isAnnouncementGroup<b>::
isAdmin(groupId<ay>) -> isAdmin<b>::
2021-10-03 15:32:42 +02:00
John Freed
ba817e2ae4
Implement Dbus updateProfile with givenName (#734)
two versions of updateProfile implemented:
- one with givenName and familyName
- one with just name

update documentation
2021-09-28 18:41:10 +02:00
John Freed
1c4a32fef4
implement Dbus isRegistered() methods (#729)
* implement Dbus isRegistered() methods

isRegistered(number<s>) returns a boolean

isRegistered(numbers<as>) returns an array of Booleans

* Dbus isRegistered() methods

restore isRegistered() and respond to other requests by AsamK
2021-09-26 20:09:57 +02:00
John Freed
e78463ea0a
implement Dbus updateAccount and listDevices (#730)
* implement Dbus updateAccount and listDevices

implement updateAccount(deviceName<s>) to change device name

implement listDevices

update documentation

* implement Dbus addDevice and removeDevice

update documentation as well

* Dbus add/remove/list/update devices

modifications responding to requests by AsamK

* Dbus incorporating InvalidUri error

Co-authored-by: AsamK <asamk@gmx.de>
2021-09-26 09:26:12 +02:00
John Freed
d47574351e
implement Dbus setExpirationTimer (#735)
implement method

update documentation
2021-09-26 09:04:40 +02:00
John Freed
8bee08fd96
implement Dbus sync methods (#737)
implement two Dbus methods:
- sendContacts
- sendSyncRequest

update documentation
2021-09-26 09:00:26 +02:00
John Freed
1ca0e75ef1
implement Dbus stickerpack method (#740)
implement uploadStickerPack

update documentation
2021-09-26 08:59:38 +02:00
John Freed
d622967192
Implement Dbus setPin and removePin (#733)
and update documentation
2021-09-21 22:26:26 +02:00
JtheSaw
11b3758416
Add sendTyping and sendReceipt to dbus interface (#718)
* Add sendTyping and sendReceipt to dbus interface

* Resolve requested changes

* Adapt documentation
2021-09-13 17:01:26 +02:00
Adaptive Garage
05abb3f9f6
Send remote delete (#593)
* Implementation of remoteDelete command, iteration 1

* Implementation of remoteDelete command, iteration 2

* Implementation of remoteDelete command, iteration 3

* Implementation of remoteDelete command, iteration 4

* Implementation of remoteDelete command, iteration 5

* Implementation of remoteDelete command, iteration 6

* Renaming dbus methods remoteGroupDelete -> sendGroupRemoteDeleteMessage, remoteDelete -> sendRemoteDeleteMessage
2021-04-05 19:49:45 +02:00
Adaptive Garage
2ad18342a8
Dbus sendreaction doc (#591)
* Documentation of dbus methods sendGroupMessageReaction, sendMessageReaction

* Documentation of dbus methods sendGroupMessageReaction, sendMessageReaction. Fix 1.
2021-04-05 17:00:20 +02:00
exquo
7832afd819
Improve DBus man page (#589)
* Improve DBus man page

- Expand synopsis
- Add examples
- Fix typos

* Update to DBus man page
2021-04-03 21:22:05 +02:00
Adimarantis
caf16231aa
Adding Dbus manpage (#564)
* some small dbus return code fixes

* Added DBus manpage

* changed getDisplayName behaviour

* reverted change in manager

* some small dbus return code fixes

* Added DBus manpage

* changed getDisplayName behaviour

* reverted change in manager

* Dbus manpage
2021-04-02 09:19:07 +02:00