Latest stories

report_message

  • Inputs
{
    "description": "string: Maximum 250 characters: optional but if report_type equal 4 it's needed",
    "message_id": "integer: message id",
    "report_type": "integer between 1 and 4: type of report, 1 as 'spam', 2 for 'violence', 3 means 'inappropriate content' and 4 as 'other'"
}

  • Errors
{
    "description_field_is_required": "if report_type equal 4, description must have a string value ",
    "invalid_report_type": "report type must be an integer in range 1 and 4",
    "must_login": "user must be login",
    "no_valid_messages": "either not existing message_id nor user not member of private chat"
}

  • Extra Description
Report the message to Pantel team for violation of rules, manners etc

  • Sample
  • Url:
https://api.pantel.me/a/report_message?message_id=1547987045183590&report_type=1
  • Output:
                                {
    "status": "success",
    "time": 1526966340.437936
}