{"action":"created","issue":{"url":"https://api.github.com/repos/zhukov/webogram/issues/620","labels_url":"https://api.github.com/repos/zhukov/webogram/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/zhukov/webogram/issues/620/comments","events_url":"https://api.github.com/repos/zhukov/webogram/issues/620/events","html_url":"https://github.com/zhukov/webogram/issues/620","id":52594861,"number":620,"title":"Restore deleted messages","user":{"login":"dlion","id":2125236,"avatar_url":"https://avatars.githubusercontent.com/u/2125236?v=3","gravatar_id":"","url":"https://api.github.com/users/dlion","html_url":"https://github.com/dlion","followers_url":"https://api.github.com/users/dlion/followers","following_url":"https://api.github.com/users/dlion/following{/other_user}","gists_url":"https://api.github.com/users/dlion/gists{/gist_id}","starred_url":"https://api.github.com/users/dlion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlion/subscriptions","organizations_url":"https://api.github.com/users/dlion/orgs","repos_url":"https://api.github.com/users/dlion/repos","events_url":"https://api.github.com/users/dlion/events{/privacy}","received_events_url":"https://api.github.com/users/dlion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-21T13:12:58Z","updated_at":"2015-01-06T09:27:42Z","closed_at":null,"body":"I think it would be pretty useful the possibility to restore deleted messages using https://core.telegram.org/method/messages.restoreMessages API"},"comment":{"url":"https://api.github.com/repos/zhukov/webogram/issues/comments/68843469","html_url":"https://github.com/zhukov/webogram/issues/620#issuecomment-68843469","issue_url":"https://api.github.com/repos/zhukov/webogram/issues/620","id":68843469,"user":{"login":"zhukov","id":775173,"avatar_url":"https://avatars.githubusercontent.com/u/775173?v=3","gravatar_id":"","url":"https://api.github.com/users/zhukov","html_url":"https://github.com/zhukov","followers_url":"https://api.github.com/users/zhukov/followers","following_url":"https://api.github.com/users/zhukov/following{/other_user}","gists_url":"https://api.github.com/users/zhukov/gists{/gist_id}","starred_url":"https://api.github.com/users/zhukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhukov/subscriptions","organizations_url":"https://api.github.com/users/zhukov/orgs","repos_url":"https://api.github.com/users/zhukov/repos","events_url":"https://api.github.com/users/zhukov/events{/privacy}","received_events_url":"https://api.github.com/users/zhukov/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T09:27:42Z","updated_at":"2015-01-06T09:27:42Z","body":"The UI for deleting messages is the same as in mobile clients: you have to select some messages and press \"delete\" button. So can't delete message by one miss-click. When you delete the whole history, we always have a confirm window, so also 2+ clicks.\r\n\r\nI don't want to create a new UI for restoring messages, you are the first to ask it.\r\n\r\nThe one thing, we could do is to add confirm modal window after pressing \"Delete\" button in messages history.  Will that be OK?"}}