#

Description
- Bullet Screen - Connection Closed
Request Method
- HTTPS
- POST
- Parameters are in JSON format and placed in the body
Request Parameters (additional fields may be added, please ensure compatibility with the new fields on the server side)
Parameter Name |
Required |
Type |
Description |
Example |
notify_id |
Yes |
string |
Notification ID |
0795d77f85789da0eb387a5096 |
notify_time |
Yes |
string |
Timestamp (in milliseconds) of the notification on the server side |
1647834452408 |
app_id |
Yes |
string |
Application ID of the message recipient |
1 |
notify_event |
Yes |
string |
Notification event |
sud.mg.merchant.bullet.connection.closed |
data |
Yes |
BulletConnectionClosedModel |
Notification data |
{} |
BulletConnectionClosedModel
Parameter Name |
Required |
Type |
Description |
Example |
mg_id |
Yes |
string |
Game ID |
14615640800525066 |
anchor_id |
Yes |
string |
Anchor ID |
9009 |
msg_id |
Yes |
string |
Message ID |
1692082187609964545 |
timestamp |
Yes |
int64 |
Millisecond Timestamp |
1692258830045 |
Message Signature Verification
Signature Verification
Request Example
{
"notify_id": "0795d77f85789da0eb387a50964993a3eba1fedfec2b12f729861392a9b5ad04",
"notify_time": "1647844976502",
"app_id": "14615640800525066",
"notify_event": "sud.mg.merchant.bullet.connection.closed",
"data": {
"mg_id": "mgid01",
"anchor_id": "9009",
"msg_id": "1692082187609964545",
"timestamp": 1692258830045
}
}
Notification Response
Parameter Name |
Required |
Type |
Description |
Example |
ret_code |
Yes |
int32 |
Return status code. 0 indicates a successful notification, and other error codes indicate failure |
0 |
ret_msg |
Yes |
string |
Return message |
SUCCESS |
Response Example
{
"ret_code": 0,
"ret_msg": "SUCCESS",
}