Latest stories

get_public_comments

  • Inputs
{
    "chat_id": "string: id of chat",
    "comment": "integer: message_id of the parent_message",
    "message_id": "integer: id of message: optional",
    "page": "string: allowed: 'next', 'prev': has dependency to message_id: optional"
}

  • Errors
No error

  • Extra Description
Returns comments on images and videos in public walls

  • Sample
  • Url:
https://api.pantel.me/a/get_public_comments?chat_id=9999757f2d15a377a39445442d13b5c23425&comment=1547890085663063
  • Output:
                                {
    "result": [
        {
            "body": "u2 comment message",
            "date": 1547890087.2138157,
            "duration": null,
            "edit_date": null,
            "liked": 0,
            "likes": 0,
            "media": null,
            "media_path": null,
            "media_server_id": null,
            "media_type": 0,
            "message_id": 1547890087211791,
            "og_data": null,
            "seen": 1,
            "sender": 1002687,
            "sender_contact_name": null,
            "sender_first_name": "Xampgsux",
            "sender_image_path": null,
            "sender_image_server_id": null,
            "sender_last_name": "Xrtoaizx",
            "type": 1
        },
        {
            "body": "u1 comment message",
            "date": 1547890086.5125706,
            "duration": null,
            "edit_date": null,
            "liked": 0,
            "likes": 0,
            "media": null,
            "media_path": null,
            "media_server_id": null,
            "media_type": 0,
            "message_id": 1547890086510736,
            "og_data": null,
            "seen": 1,
            "sender": 1002686,
            "sender_contact_name": null,
            "sender_first_name": "Xxvdphyx",
            "sender_image_path": null,
            "sender_image_server_id": null,
            "sender_last_name": "Xblbbsnx",
            "type": 1
        }
    ],
    "status": "success",
    "time": 1547890173.7307055
}