mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 12:30:39 +00:00
added more about list_contacts, list_groups
This commit is contained in:
parent
ce06d51850
commit
8516090552
1 changed files with 67 additions and 6 deletions
|
@ -90,7 +90,7 @@ Send Message Request (to group chat)
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"groupInfo": {
|
"groupInfo": {
|
||||||
"groupId": "FRasdb6mSVwHwetHSX8mkjQ=="
|
"groupId": "FRasdb7mSVwGwetQSX8mkjQ=="
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,7 @@ Message Envelope Received, sent to group chat with some attachements present
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"groupInfo": {
|
"groupInfo": {
|
||||||
"groupId": "FRasdb6mSVwHwetHSX8mkjQ==",
|
"groupId": "FRasdb7mSVwGwetQSX8mkjQ==",
|
||||||
"members": null,
|
"members": null,
|
||||||
"name": null,
|
"name": null,
|
||||||
"type": "DELIVER"
|
"type": "DELIVER"
|
||||||
|
@ -141,9 +141,71 @@ Message Envelope Received, sent to group chat with some attachements present
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
List known groups and their properties
|
||||||
|
{
|
||||||
|
"reqType": "list_groups"
|
||||||
|
}
|
||||||
|
|
||||||
Alive Request
|
List groups response
|
||||||
Test if signal-cli is still responding
|
{
|
||||||
|
"respType":"list_groups",
|
||||||
|
"reqID":null,
|
||||||
|
"statusCode":0,
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"groupId":"+rtjbBy781Tgfpkc9HiNCg==",
|
||||||
|
"name":"test-group",
|
||||||
|
"members": [
|
||||||
|
"+46123445566",
|
||||||
|
"+46222222222",
|
||||||
|
"+4687345232989874",
|
||||||
|
],
|
||||||
|
"color":"blue",
|
||||||
|
"blocked":false,
|
||||||
|
"active":true,
|
||||||
|
"inboxPosition":null,
|
||||||
|
"archived":false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
List contacts and their properties
|
||||||
|
{
|
||||||
|
"reqType": "list_contacts"
|
||||||
|
}
|
||||||
|
|
||||||
|
List groups response
|
||||||
|
{
|
||||||
|
"respType":"list_contacts",
|
||||||
|
"reqID":null,
|
||||||
|
"statusCode":0,
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"name":"Persons A Full Name",
|
||||||
|
"number":"+46999999",
|
||||||
|
"color":"blue_grey",
|
||||||
|
"profileKey":null,
|
||||||
|
"blocked":false,
|
||||||
|
"inboxPosition":50,
|
||||||
|
"archived":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name":"Persons B Full Name",
|
||||||
|
"number":"+46999444444",
|
||||||
|
"color":"teal",
|
||||||
|
"profileKey":null,
|
||||||
|
"blocked":false,
|
||||||
|
"inboxPosition":0,
|
||||||
|
"archived":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Alive Request (Test if signal-cli is still responding)
|
||||||
{
|
{
|
||||||
"reqType": "alive"
|
"reqType": "alive"
|
||||||
}
|
}
|
||||||
|
@ -155,8 +217,7 @@ Alive Response
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Exit Request
|
Exit Request (Request immediate termination of signal-cli client)
|
||||||
Request immediate termination of signal-cli client
|
|
||||||
{
|
{
|
||||||
"reqType": "exit"
|
"reqType": "exit"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue