mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-07 14:30:38 +00:00
Dbus methods
implement setPin and removePin implement unregister (which kills the daemon upon success) updateProfile now implements given name and family name (as well as the former method with just a name) update documentation
This commit is contained in:
parent
da1bb918bf
commit
545eec12d8
4 changed files with 93 additions and 5 deletions
|
@ -63,8 +63,11 @@ updateGroup(base64GroupId<s>, name<s>, description<s>, addMembers<s>, removeMemb
|
|||
|
||||
Exceptions: AttachmentInvalid, Failure, InvalidNumber, GroupNotFound
|
||||
|
||||
updateProfile(newName<s>, about <s>, aboutEmoji <s>, avatar<s>, remove<b>) -> <>::
|
||||
* newName : New name for your own profile (empty if unchanged)
|
||||
updateProfile(name<s>, about<s>, aboutEmoji <s>, avatar<s>, remove<b>) -> <>::
|
||||
updateProfile(givenName<s>, familyName<s>, about<s>, aboutEmoji <s>, avatar<s>, remove<b>) -> <>::
|
||||
* name : Name for your own profile (empty if unchanged)
|
||||
* givenName : Given name for your own profile (empty if unchanged)
|
||||
* familyName : Family name for your own profile (empty if unchanged)
|
||||
* about : About message for profile (empty if unchanged)
|
||||
* aboutEmoji : Emoji for profile (empty if unchanged)
|
||||
* avatar : Filename of avatar picture for profile (empty if unchanged)
|
||||
|
@ -281,7 +284,7 @@ getObjectPath() -> objectPath<s>::
|
|||
|
||||
updateAccount() -> <>
|
||||
|
||||
This command reverses an `unregister` command.
|
||||
Updates the account attributes on the Signal server.
|
||||
|
||||
getObjectPath() -> objectPath<s>::
|
||||
* objectPath : The DBus object path associated with this connection
|
||||
|
@ -312,6 +315,15 @@ registerWithCaptcha(number<s>, voiceVerification<b>, captcha<s>) -> <>::
|
|||
* voiceVerification : true = use voice verification; false = use SMS verification
|
||||
* captcha : Captcha string
|
||||
|
||||
setPin(pin<s>) -> <>::
|
||||
* pin : PIN you set after registration (resets after 7 days of inactivity)
|
||||
|
||||
Sets a registration lock PIN, to prevent others from registering your number.
|
||||
|
||||
removePin() -> <>::
|
||||
|
||||
Removes registration PIN protection.
|
||||
|
||||
verify(number<s>, verificationCode<s>) -> <>
|
||||
* number : Phone number
|
||||
* verificationCode : Code received from Signal after successful registration request
|
||||
|
@ -321,7 +333,7 @@ Command fails if PIN was set after previous registration; use verifyWithPin inst
|
|||
verifyWithPin(number<s>, verificationCode<s>, pin<s>) -> <>
|
||||
* number : Phone number
|
||||
* verificationCode : Code received from Signal after successful registration request
|
||||
* pin : PIN you set after initial registration
|
||||
* pin : PIN you set with setPin command after verifying previous registration
|
||||
|
||||
== Signals
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue