Latest stories

clear_history

  • Inputs
{
    "chat_id": "string"
}

  • Errors
{
    "must_login": "user must be login",
    "user_is_not_in_the_chat": "user is not a member of this chat"
}

  • Extra Description
Gets a chat_id and clear all messages in that chat

  • Sample
  • Url:
https://api.pantel.me/a/clear_history?chat_id=01068e6639935a5d70b8596e2a6e73996886
  • Output:
                                {
    "status": "success",
    "time": 1526966340.437936
}