note/sendExisting
- Sends an existing note.
Method parameters:
id
- The ID of the note to send.
receiver_username
- The Zvini username of the receiver.
Returns a JSON document of the following format:
<boolean> - Always true
.
Expected errors:
NOTE_NOT_FOUND
- A note with the ID doesn't exist.
ENTER_RECEIVER_USERNAME
- The receiver username is empty.
INVALID_RECEIVER_USERNAME
- The receiver username is invalid.
RECEIVER_NOT_FOUND
- No such receiver with the username.
RECEIVER_NOT_RECEIVING
- The receiver hasn't opened a connection to receive notes from you.