deleteGJMessages20.php
Deletes a message between two users.
Parameters
| Parameter | Explanation | Required |
|---|---|---|
accountID | The account ID of the user who is deleting the message | Yes |
gjp2 | The GJP2 of the user who is deleting the message | Yes |
messageID | ID of the message being deleted | Yes |
isSender | 1 if the user who deleted the message is the sender, otherwise this parameter isn't sent | Yes |
secret | Common Secret: Wmfd2893gb7 | Yes |
gameVersion | 22 | |
binaryVersion | 42 | |
gdw | 0 |
Response
Always returns 1, regardless of whether the message was deleted or not.
Example
Python
py
import requests
# With this code, DevExit is deleting a message with the ID 3141592
# DevExit received this message, and therefore the isSender parameter is not needed
data = {
"accountID": 173831, # DevExit's account ID
"gjp2": "********", # This would be DevExit's password encoded with GJP2 encryption
"messageID": 3141592,
"secret": "Wmfd2893gb7"
}
req = requests.post("https://www.boomlings.com/database/deleteGJMessages20.php", data=data)
print(req.text)Response
py
1