Skip to content

deleteGJMessages20.php

Deletes a message between two users.

Parameters

ParameterExplanationRequired
accountIDThe player's account ID (not to be confused with user ID). Used for authorizationYes
gjp2The player's account password, encoded with GJP2. Used for authorizationYes
isSender1 if the user who deleted the message is the sender, otherwise this parameter isn't sentYes
messageIDID of the message being deleted. This parameter isn't sent if multiple messages are being removed
messagesIDs of the messages being deleted, separated with ,. This parameter isn't sent if only one message is being removed
secretCommon Secret: Wmfd2893gb7Yes
gameVersionA number representing the game's version. The current value is 22 for 2.2
binaryVersionA number representing the game's small version. The current value is 47 for 2.2081 on PC and 48 for 2.208 on mobile
udidThe player's UDID (Unique Device Identifier). Used to identify unregistered users
uuidIn modern versions, this is sent as the user ID. See the previous format here
dvsA number added in 2.208 representing the device the player is using. Corresponds to the Cocos2d CC_TARGET_PLATFORM macro: 1 for iOS, 2 for Android, 3 for Windows, 8 for macOS

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