#

SUD

Description

  • Room Users Changed Notification

Request Method

  • HTTPS
  • POST
  • Parameters in JSON format are placed in the body.

Request Parameters (additional fields may be added, please ensure compatibility with added fields on the server side)

Parameter Name Required Type Description Example
notify_id Yes string Notification ID 0795d77f85789da0eb387a5096
notify_time Yes string Timestamp on server side when notification is sent (in milliseconds) 1647834452408
app_id Yes string Application ID of the message recipient 1
notify_event Yes string Notification event sud.mg.merchant.room.users.changed
data Yes RoomUsersChangedModel Notification data {}
RoomUsersChangedModel
Parameter Name Required Type Description Example
room_id Yes string Room ID 9009
mg_id Yes string Game ID 14615640800525066
player_total Yes int32 Total number of players 2
ob_total Yes int32 Total number of observers 2
changed_time Yes string Timestamp of change (in milliseconds) 1647844976502
Message Verification

Verification

Request Example

{
    "notify_id": "0795d77f85789da0eb387a50964993a3eba1fedfec2b12f729861392a9b5ad04",
    "notify_time": "1647844976502",
    "app_id": "14615640800525066",
    "notify_event": "sud.mg.merchant.room.users.changed",
    "data": {
        "room_id": "9009",
        "mg_id": "mgid01"
        "player_total": 2,
        "ob_total": 2,
        "changed_time": "1647844976502"
    }
}

Notification Response

Parameter Name Required Type Description Example
ret_code Yes int32 Return status code, 0 for successful message notification, other error codes for failure 0
ret_msg Yes string Return message SUCCESS

Response Example

{
    "ret_code": 0,
    "ret_msg": "SUCCESS",
}

results matching ""

    No results matching ""