Latest stories

unjoin_chat

  • Inputs
{
    "chat_id": "string: chat id"
}

  • Errors
{
    "chat_id_is_invalid": "whether chat_id is not of type group, type blog or user is not a member in this chat",
    "must_login": "user must be login",
    "owner_cannot_leave_chat": "owner cannot unjoin his/her wall"
}

  • Extra Description
Seperate user from the chat

  • Sample
  • Url:
https://api.pantel.me/a/unjoin_chat?chat_id=9999757f2d15a377a39445442d13b5c23425
  • Output:
                                {
    "status": "success",
    "time": 1526966340.437936
}