Latest stories

get_draft

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

  • Errors
{
    "must_login": "user must be login",
    "user_not_in_chat": "user not a member of selected chat"
}

  • Extra Description
restore user message from draft in selected chat

  • Sample
  • Url:
https://api.pantel.me/a/get_draft?chat_id=0106675fabf7299779166b44c56fbc5ecd39
  • Output:
                                {
    "result": "Hello",
    "status": "success",
    "time": 1547890173.7307055
}