Latest stories

get_likes

  • Inputs
{
    "base": "integer: has dependency to page: for sorting into multiple pages: optional",
    "chat_id": "string: chat id",
    "message_id": "integer: message id",
    "page": "string: allowed: 'next', 'prev': has dependency to base: for sorting into multiple pages: optional"
}

  • Errors
{
    "deleted_message": "message was deleted",
    "disabled_wall": "wall was disabled",
    "must_login": "user must be login",
    "no_valid_message_id": "message_id is incorrect or not in chat",
    "permission_denied": "user dont have permission",
    "user_is_not_member": "user not a member of private chat"
}

  • Extra Description
Get a list of users that likes a message

  • Sample
  • Url:
https://api.pantel.me/a/get_likes?chat_id=0106675fabf7299779166b44c56fbc5ecd39&message_id=1545562829266153&page=next&base=5
  • Output:
                                {
    "result": [
        {
            "base": 1,
            "file_path": null,
            "full_name": "reza amiri",
            "id": 1031762,
            "server_id": null,
            "user_name": "rezaamiri"
        }
    ],
    "status": "success",
    "time": 1526966340.437936
}