Commit 31951d08 authored by Simon Redman's avatar Simon Redman
Browse files

Update header documentation for PACKET_TYPE_SMS_REQUEST

parent 900f5687
......@@ -76,11 +76,12 @@
* Packet sent to request a message be sent
*
* The body should look like so:
* { "version": 2,
* "addresses": <List of Addresses>
* "textMessage": "Hi mom!",
* "attachments": <List of Attached files>
* "sub_id": "3859358340534"
* {
* "version": 2, // The version of the packet being sent. Compare to SMS_REQUEST_PACKET_VERSION before attempting to handle.
* "addresses": <List<Addresses>>, // The one or many targets of this message
* "messageBody": "Hi mom!", // Plain-text string to be sent as the body of the message
* "attachments": <List<Attachment>>,// Send one or more attachments with this message. See AttachmentContainer documentation for formatting. (Optional)
* "sub_id": 3859358340534 // Some magic number which tells Android which SIM card to use (Optional, if omitted, sends with the default SIM card)
* }
*
* An AttachmentContainer object looks like:
......@@ -93,6 +94,7 @@
*/
#define PACKET_TYPE_SMS_REQUEST QStringLiteral("kdeconnect.sms.request")
/**
* Packet sent to request the most-recent message in each conversations on the device
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment