GoChat
  • Overview
  • Demo App
  • SDK Integration
  • Client-Side Implementation
  • GoChat Cloud Service
  • Server APIs
  • Error codes
  • Documentation
  • GoChat
  • Server APIs
  • Raise Hand

Raise Hand

Last updated:2022-03-22 13:07

1 Description

Listeners raise or lower their hand.

Rate limit: 10 requests / second.

2 Request Method and Endpoint

  • Request method: POST
  • Request endpoint: /chat_room/operate_raise_hand
  • Content-Type: application/json

3 Request Parameters

Parameter Type Required Example Description
uid Int32 Yes 171171717 User ID.
room_id String Yes "11717" Room ID.
type Int32 Yes 1

Operation type:

  • 1: Lower the raised hand
  • 2: Raise hand

4 Request Example

{
  "uid":171171717,
  "room_id":"11717",
  "type":1
}

5 Response Parameters

None.

6 Response Example

{
    "ret": {
        "code": 0,
        "message": "succeed"
    }
}

7 Return Codes

Return Codes Description
80001 Incorrect parameter.
80012 The user is offline.
80002 The room does not exist.
80011 The user is not in the room.
Page Directory