{"action":"closed","number":27,"pull_request":{"url":"https://api.github.com/repos/depoio/node-telegram-bot/pulls/27","id":41230565,"html_url":"https://github.com/depoio/node-telegram-bot/pull/27","diff_url":"https://github.com/depoio/node-telegram-bot/pull/27.diff","patch_url":"https://github.com/depoio/node-telegram-bot/pull/27.patch","issue_url":"https://api.github.com/repos/depoio/node-telegram-bot/issues/27","number":27,"state":"closed","locked":false,"title":"Enhancement/webhook","user":{"login":"MrHug","id":3225139,"avatar_url":"https://avatars.githubusercontent.com/u/3225139?v=3","gravatar_id":"","url":"https://api.github.com/users/MrHug","html_url":"https://github.com/MrHug","followers_url":"https://api.github.com/users/MrHug/followers","following_url":"https://api.github.com/users/MrHug/following{/other_user}","gists_url":"https://api.github.com/users/MrHug/gists{/gist_id}","starred_url":"https://api.github.com/users/MrHug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrHug/subscriptions","organizations_url":"https://api.github.com/users/MrHug/orgs","repos_url":"https://api.github.com/users/MrHug/repos","events_url":"https://api.github.com/users/MrHug/events{/privacy}","received_events_url":"https://api.github.com/users/MrHug/received_events","type":"User","site_admin":false},"body":"I have added an option to support the use of webhooks, rather than the polling based method. I made this some time ago, so had to rebase to the new master (like all the new features by the way :D)\r\n\r\nIf you already have a different way to support this, or you disagree with something, please let me know.","created_at":"2015-07-30T12:58:11Z","updated_at":"2015-07-31T02:49:36Z","closed_at":"2015-07-31T02:49:36Z","merged_at":"2015-07-31T02:49:36Z","merge_commit_sha":"573e0a0e06aff0ca22d06e0ea6638456cd187506","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/depoio/node-telegram-bot/pulls/27/commits","review_comments_url":"https://api.github.com/repos/depoio/node-telegram-bot/pulls/27/comments","review_comment_url":"https://api.github.com/repos/depoio/node-telegram-bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/depoio/node-telegram-bot/issues/27/comments","statuses_url":"https://api.github.com/repos/depoio/node-telegram-bot/statuses/c287a4fd4c5eae504e663c7d3101b836fde120c3","head":{"label":"MrHug:enhancement/webhook","ref":"enhancement/webhook","sha":"c287a4fd4c5eae504e663c7d3101b836fde120c3","user":{"login":"MrHug","id":3225139,"avatar_url":"https://avatars.githubusercontent.com/u/3225139?v=3","gravatar_id":"","url":"https://api.github.com/users/MrHug","html_url":"https://github.com/MrHug","followers_url":"https://api.github.com/users/MrHug/followers","following_url":"https://api.github.com/users/MrHug/following{/other_user}","gists_url":"https://api.github.com/users/MrHug/gists{/gist_id}","starred_url":"https://api.github.com/users/MrHug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrHug/subscriptions","organizations_url":"https://api.github.com/users/MrHug/orgs","repos_url":"https://api.github.com/users/MrHug/repos","events_url":"https://api.github.com/users/MrHug/events{/privacy}","received_events_url":"https://api.github.com/users/MrHug/received_events","type":"User","site_admin":false},"repo":{"id":38037456,"name":"node-telegram-bot","full_name":"MrHug/node-telegram-bot","owner":{"login":"MrHug","id":3225139,"avatar_url":"https://avatars.githubusercontent.com/u/3225139?v=3","gravatar_id":"","url":"https://api.github.com/users/MrHug","html_url":"https://github.com/MrHug","followers_url":"https://api.github.com/users/MrHug/followers","following_url":"https://api.github.com/users/MrHug/following{/other_user}","gists_url":"https://api.github.com/users/MrHug/gists{/gist_id}","starred_url":"https://api.github.com/users/MrHug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrHug/subscriptions","organizations_url":"https://api.github.com/users/MrHug/orgs","repos_url":"https://api.github.com/users/MrHug/repos","events_url":"https://api.github.com/users/MrHug/events{/privacy}","received_events_url":"https://api.github.com/users/MrHug/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MrHug/node-telegram-bot","description":"","fork":true,"url":"https://api.github.com/repos/MrHug/node-telegram-bot","forks_url":"https://api.github.com/repos/MrHug/node-telegram-bot/forks","keys_url":"https://api.github.com/repos/MrHug/node-telegram-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrHug/node-telegram-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrHug/node-telegram-bot/teams","hooks_url":"https://api.github.com/repos/MrHug/node-telegram-bot/hooks","issue_events_url":"https://api.github.com/repos/MrHug/node-telegram-bot/issues/events{/number}","events_url":"https://api.github.com/repos/MrHug/node-telegram-bot/events","assignees_url":"https://api.github.com/repos/MrHug/node-telegram-bot/assignees{/user}","branches_url":"https://api.github.com/repos/MrHug/node-telegram-bot/branches{/branch}","tags_url":"https://api.github.com/repos/MrHug/node-telegram-bot/tags","blobs_url":"https://api.github.com/repos/MrHug/node-telegram-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrHug/node-telegram-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrHug/node-telegram-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrHug/node-telegram-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrHug/node-telegram-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/MrHug/node-telegram-bot/languages","stargazers_url":"https://api.github.com/repos/MrHug/node-telegram-bot/stargazers","contributors_url":"https://api.github.com/repos/MrHug/node-telegram-bot/contributors","subscribers_url":"https://api.github.com/repos/MrHug/node-telegram-bot/subscribers","subscription_url":"https://api.github.com/repos/MrHug/node-telegram-bot/subscription","commits_url":"https://api.github.com/repos/MrHug/node-telegram-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrHug/node-telegram-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrHug/node-telegram-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrHug/node-telegram-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrHug/node-telegram-bot/contents/{+path}","compare_url":"https://api.github.com/repos/MrHug/node-telegram-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrHug/node-telegram-bot/merges","archive_url":"https://api.github.com/repos/MrHug/node-telegram-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrHug/node-telegram-bot/downloads","issues_url":"https://api.github.com/repos/MrHug/node-telegram-bot/issues{/number}","pulls_url":"https://api.github.com/repos/MrHug/node-telegram-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/MrHug/node-telegram-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/MrHug/node-telegram-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrHug/node-telegram-bot/labels{/name}","releases_url":"https://api.github.com/repos/MrHug/node-telegram-bot/releases{/id}","created_at":"2015-06-25T08:26:28Z","updated_at":"2015-06-25T08:26:28Z","pushed_at":"2015-07-30T13:23:19Z","git_url":"git://github.com/MrHug/node-telegram-bot.git","ssh_url":"git@github.com:MrHug/node-telegram-bot.git","clone_url":"https://github.com/MrHug/node-telegram-bot.git","svn_url":"https://github.com/MrHug/node-telegram-bot","homepage":null,"size":190,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"depoio:master","ref":"master","sha":"fc4a3f7e73789f523368a6bb40cfb73ced5a6038","user":{"login":"depoio","id":11504030,"avatar_url":"https://avatars.githubusercontent.com/u/11504030?v=3","gravatar_id":"","url":"https://api.github.com/users/depoio","html_url":"https://github.com/depoio","followers_url":"https://api.github.com/users/depoio/followers","following_url":"https://api.github.com/users/depoio/following{/other_user}","gists_url":"https://api.github.com/users/depoio/gists{/gist_id}","starred_url":"https://api.github.com/users/depoio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depoio/subscriptions","organizations_url":"https://api.github.com/users/depoio/orgs","repos_url":"https://api.github.com/users/depoio/repos","events_url":"https://api.github.com/users/depoio/events{/privacy}","received_events_url":"https://api.github.com/users/depoio/received_events","type":"Organization","site_admin":false},"repo":{"id":38008205,"name":"node-telegram-bot","full_name":"depoio/node-telegram-bot","owner":{"login":"depoio","id":11504030,"avatar_url":"https://avatars.githubusercontent.com/u/11504030?v=3","gravatar_id":"","url":"https://api.github.com/users/depoio","html_url":"https://github.com/depoio","followers_url":"https://api.github.com/users/depoio/followers","following_url":"https://api.github.com/users/depoio/following{/other_user}","gists_url":"https://api.github.com/users/depoio/gists{/gist_id}","starred_url":"https://api.github.com/users/depoio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depoio/subscriptions","organizations_url":"https://api.github.com/users/depoio/orgs","repos_url":"https://api.github.com/users/depoio/repos","events_url":"https://api.github.com/users/depoio/events{/privacy}","received_events_url":"https://api.github.com/users/depoio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/depoio/node-telegram-bot","description":"Client wrapper for Telegram Bot API (Under heavy development)","fork":false,"url":"https://api.github.com/repos/depoio/node-telegram-bot","forks_url":"https://api.github.com/repos/depoio/node-telegram-bot/forks","keys_url":"https://api.github.com/repos/depoio/node-telegram-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/depoio/node-telegram-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/depoio/node-telegram-bot/teams","hooks_url":"https://api.github.com/repos/depoio/node-telegram-bot/hooks","issue_events_url":"https://api.github.com/repos/depoio/node-telegram-bot/issues/events{/number}","events_url":"https://api.github.com/repos/depoio/node-telegram-bot/events","assignees_url":"https://api.github.com/repos/depoio/node-telegram-bot/assignees{/user}","branches_url":"https://api.github.com/repos/depoio/node-telegram-bot/branches{/branch}","tags_url":"https://api.github.com/repos/depoio/node-telegram-bot/tags","blobs_url":"https://api.github.com/repos/depoio/node-telegram-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/depoio/node-telegram-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/depoio/node-telegram-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/depoio/node-telegram-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/depoio/node-telegram-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/depoio/node-telegram-bot/languages","stargazers_url":"https://api.github.com/repos/depoio/node-telegram-bot/stargazers","contributors_url":"https://api.github.com/repos/depoio/node-telegram-bot/contributors","subscribers_url":"https://api.github.com/repos/depoio/node-telegram-bot/subscribers","subscription_url":"https://api.github.com/repos/depoio/node-telegram-bot/subscription","commits_url":"https://api.github.com/repos/depoio/node-telegram-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/depoio/node-telegram-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/depoio/node-telegram-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/depoio/node-telegram-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/depoio/node-telegram-bot/contents/{+path}","compare_url":"https://api.github.com/repos/depoio/node-telegram-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/depoio/node-telegram-bot/merges","archive_url":"https://api.github.com/repos/depoio/node-telegram-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/depoio/node-telegram-bot/downloads","issues_url":"https://api.github.com/repos/depoio/node-telegram-bot/issues{/number}","pulls_url":"https://api.github.com/repos/depoio/node-telegram-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/depoio/node-telegram-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/depoio/node-telegram-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/depoio/node-telegram-bot/labels{/name}","releases_url":"https://api.github.com/repos/depoio/node-telegram-bot/releases{/id}","created_at":"2015-06-24T20:06:51Z","updated_at":"2015-07-29T00:15:04Z","pushed_at":"2015-07-31T02:49:36Z","git_url":"git://github.com/depoio/node-telegram-bot.git","ssh_url":"git@github.com:depoio/node-telegram-bot.git","clone_url":"https://github.com/depoio/node-telegram-bot.git","svn_url":"https://github.com/depoio/node-telegram-bot","homepage":"","size":1114,"stargazers_count":69,"watchers_count":69,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":7,"forks":15,"open_issues":7,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/depoio/node-telegram-bot/pulls/27"},"html":{"href":"https://github.com/depoio/node-telegram-bot/pull/27"},"issue":{"href":"https://api.github.com/repos/depoio/node-telegram-bot/issues/27"},"comments":{"href":"https://api.github.com/repos/depoio/node-telegram-bot/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/depoio/node-telegram-bot/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/depoio/node-telegram-bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/depoio/node-telegram-bot/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/depoio/node-telegram-bot/statuses/c287a4fd4c5eae504e663c7d3101b836fde120c3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"shernshiou","id":64935,"avatar_url":"https://avatars.githubusercontent.com/u/64935?v=3","gravatar_id":"","url":"https://api.github.com/users/shernshiou","html_url":"https://github.com/shernshiou","followers_url":"https://api.github.com/users/shernshiou/followers","following_url":"https://api.github.com/users/shernshiou/following{/other_user}","gists_url":"https://api.github.com/users/shernshiou/gists{/gist_id}","starred_url":"https://api.github.com/users/shernshiou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shernshiou/subscriptions","organizations_url":"https://api.github.com/users/shernshiou/orgs","repos_url":"https://api.github.com/users/shernshiou/repos","events_url":"https://api.github.com/users/shernshiou/events{/privacy}","received_events_url":"https://api.github.com/users/shernshiou/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":6,"additions":56,"deletions":11,"changed_files":4}}