{"action":"created","issue":{"url":"https://api.github.com/repos/yagop/node-telegram-bot-api/issues/444","repository_url":"https://api.github.com/repos/yagop/node-telegram-bot-api","labels_url":"https://api.github.com/repos/yagop/node-telegram-bot-api/issues/444/labels{/name}","comments_url":"https://api.github.com/repos/yagop/node-telegram-bot-api/issues/444/comments","events_url":"https://api.github.com/repos/yagop/node-telegram-bot-api/issues/444/events","html_url":"https://github.com/yagop/node-telegram-bot-api/issues/444","id":266458199,"number":444,"title":"How to check if sender is admin? ","user":{"login":"adv-zl","id":16443377,"avatar_url":"https://avatars0.githubusercontent.com/u/16443377?v=4","gravatar_id":"","url":"https://api.github.com/users/adv-zl","html_url":"https://github.com/adv-zl","followers_url":"https://api.github.com/users/adv-zl/followers","following_url":"https://api.github.com/users/adv-zl/following{/other_user}","gists_url":"https://api.github.com/users/adv-zl/gists{/gist_id}","starred_url":"https://api.github.com/users/adv-zl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adv-zl/subscriptions","organizations_url":"https://api.github.com/users/adv-zl/orgs","repos_url":"https://api.github.com/users/adv-zl/repos","events_url":"https://api.github.com/users/adv-zl/events{/privacy}","received_events_url":"https://api.github.com/users/adv-zl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-18T11:28:02Z","updated_at":"2017-11-20T19:32:56Z","closed_at":null,"author_association":"NONE","body":"I added bot to supergroup and created event that listen all messages.\r\n```\r\nbot.on('message', (msg) => {\r\n  const chatId = msg.chat.id;\r\n  \r\n  bot.deleteMessage(chatId, msg.message_id);\r\n});\r\n```\r\n\r\nHow can I check if admin sent this message?"},"comment":{"url":"https://api.github.com/repos/yagop/node-telegram-bot-api/issues/comments/345804039","html_url":"https://github.com/yagop/node-telegram-bot-api/issues/444#issuecomment-345804039","issue_url":"https://api.github.com/repos/yagop/node-telegram-bot-api/issues/444","id":345804039,"user":{"login":"sidelux","id":18572941,"avatar_url":"https://avatars3.githubusercontent.com/u/18572941?v=4","gravatar_id":"","url":"https://api.github.com/users/sidelux","html_url":"https://github.com/sidelux","followers_url":"https://api.github.com/users/sidelux/followers","following_url":"https://api.github.com/users/sidelux/following{/other_user}","gists_url":"https://api.github.com/users/sidelux/gists{/gist_id}","starred_url":"https://api.github.com/users/sidelux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidelux/subscriptions","organizations_url":"https://api.github.com/users/sidelux/orgs","repos_url":"https://api.github.com/users/sidelux/repos","events_url":"https://api.github.com/users/sidelux/events{/privacy}","received_events_url":"https://api.github.com/users/sidelux/received_events","type":"User","site_admin":false},"created_at":"2017-11-20T19:32:56Z","updated_at":"2017-11-20T19:32:56Z","author_association":"NONE","body":"I think yes ;)"}}
{"actor":{"display_login":"sidelux"}}