{"action":"created","comment":{"url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/comments/226078368","pull_request_review_id":165815961,"id":226078368,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjA3ODM2OA==","diff_hunk":"@@ -161,6 +161,9 @@ type API interface {\n \t// DeleteChannelMember deletes a channel membership for a user.\n \tDeleteChannelMember(channelId, userId string) *model.AppError\n \n+\t// GetUsersInChannel gets users in given channel.","path":"plugin/api.go","position":4,"original_position":4,"commit_id":"e4519627f706910d5d9b9f26cf64e25f4335d24a","original_commit_id":"e4519627f706910d5d9b9f26cf64e25f4335d24a","user":{"login":"hanzei","id":16541325,"node_id":"MDQ6VXNlcjE2NTQxMzI1","avatar_url":"https://avatars0.githubusercontent.com/u/16541325?v=4","gravatar_id":"","url":"https://api.github.com/users/hanzei","html_url":"https://github.com/hanzei","followers_url":"https://api.github.com/users/hanzei/followers","following_url":"https://api.github.com/users/hanzei/following{/other_user}","gists_url":"https://api.github.com/users/hanzei/gists{/gist_id}","starred_url":"https://api.github.com/users/hanzei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanzei/subscriptions","organizations_url":"https://api.github.com/users/hanzei/orgs","repos_url":"https://api.github.com/users/hanzei/repos","events_url":"https://api.github.com/users/hanzei/events{/privacy}","received_events_url":"https://api.github.com/users/hanzei/received_events","type":"User","site_admin":false},"body":"Can you document the minimum version required here?\r\n\r\n```suggestion\r\n\t// GetUsersInChannel gets users in given channel.\r\n\t//\r\n\t// Minimum server version: 5.6\r\n```","created_at":"2018-10-17T20:13:21Z","updated_at":"2018-10-17T20:13:21Z","html_url":"https://github.com/mattermost/mattermost-server/pull/9643#discussion_r226078368","pull_request_url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/9643","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/comments/226078368"},"html":{"href":"https://github.com/mattermost/mattermost-server/pull/9643#discussion_r226078368"},"pull_request":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/9643"}}},"pull_request":{"url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/9643","id":222551124,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNTUxMTI0","html_url":"https://github.com/mattermost/mattermost-server/pull/9643","diff_url":"https://github.com/mattermost/mattermost-server/pull/9643.diff","patch_url":"https://github.com/mattermost/mattermost-server/pull/9643.patch","issue_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/9643","number":9643,"state":"open","locked":false,"title":"GH-9608: Add GetUsersInChannel to plugin API","user":{"login":"czertbytes","id":5165931,"node_id":"MDQ6VXNlcjUxNjU5MzE=","avatar_url":"https://avatars0.githubusercontent.com/u/5165931?v=4","gravatar_id":"","url":"https://api.github.com/users/czertbytes","html_url":"https://github.com/czertbytes","followers_url":"https://api.github.com/users/czertbytes/followers","following_url":"https://api.github.com/users/czertbytes/following{/other_user}","gists_url":"https://api.github.com/users/czertbytes/gists{/gist_id}","starred_url":"https://api.github.com/users/czertbytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czertbytes/subscriptions","organizations_url":"https://api.github.com/users/czertbytes/orgs","repos_url":"https://api.github.com/users/czertbytes/repos","events_url":"https://api.github.com/users/czertbytes/events{/privacy}","received_events_url":"https://api.github.com/users/czertbytes/received_events","type":"User","site_admin":false},"body":"#### Summary\r\nadd GetUsersInChannel method to plugin API.\r\n\r\n#### Ticket Link\r\nhttps://github.com/mattermost/mattermost-server/issues/9608\r\n\r\n#### Checklist\r\n- [x] Added or updated unit tests (required for all new features)","created_at":"2018-10-12T18:34:17Z","updated_at":"2018-10-17T20:13:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b4da5075eea42446e13d6d9a502a9ff618fade3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":250214574,"node_id":"MDU6TGFiZWwyNTAyMTQ1NzQ=","url":"https://api.github.com/repos/mattermost/mattermost-server/labels/2:%20Dev%20Review","name":"2: Dev Review","color":"eb6420","default":false},{"id":706660739,"node_id":"MDU6TGFiZWw3MDY2NjA3Mzk=","url":"https://api.github.com/repos/mattermost/mattermost-server/labels/Hacktoberfest","name":"Hacktoberfest","color":"dc7d02","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/9643/commits","review_comments_url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/9643/comments","review_comment_url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/9643/comments","statuses_url":"https://api.github.com/repos/mattermost/mattermost-server/statuses/e4519627f706910d5d9b9f26cf64e25f4335d24a","head":{"label":"czertbytes:issue9608-getusersinchannel","ref":"issue9608-getusersinchannel","sha":"e4519627f706910d5d9b9f26cf64e25f4335d24a","user":{"login":"czertbytes","id":5165931,"node_id":"MDQ6VXNlcjUxNjU5MzE=","avatar_url":"https://avatars0.githubusercontent.com/u/5165931?v=4","gravatar_id":"","url":"https://api.github.com/users/czertbytes","html_url":"https://github.com/czertbytes","followers_url":"https://api.github.com/users/czertbytes/followers","following_url":"https://api.github.com/users/czertbytes/following{/other_user}","gists_url":"https://api.github.com/users/czertbytes/gists{/gist_id}","starred_url":"https://api.github.com/users/czertbytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czertbytes/subscriptions","organizations_url":"https://api.github.com/users/czertbytes/orgs","repos_url":"https://api.github.com/users/czertbytes/repos","events_url":"https://api.github.com/users/czertbytes/events{/privacy}","received_events_url":"https://api.github.com/users/czertbytes/received_events","type":"User","site_admin":false},"repo":{"id":152783795,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI3ODM3OTU=","name":"mattermost-server","full_name":"czertbytes/mattermost-server","private":false,"owner":{"login":"czertbytes","id":5165931,"node_id":"MDQ6VXNlcjUxNjU5MzE=","avatar_url":"https://avatars0.githubusercontent.com/u/5165931?v=4","gravatar_id":"","url":"https://api.github.com/users/czertbytes","html_url":"https://github.com/czertbytes","followers_url":"https://api.github.com/users/czertbytes/followers","following_url":"https://api.github.com/users/czertbytes/following{/other_user}","gists_url":"https://api.github.com/users/czertbytes/gists{/gist_id}","starred_url":"https://api.github.com/users/czertbytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czertbytes/subscriptions","organizations_url":"https://api.github.com/users/czertbytes/orgs","repos_url":"https://api.github.com/users/czertbytes/repos","events_url":"https://api.github.com/users/czertbytes/events{/privacy}","received_events_url":"https://api.github.com/users/czertbytes/received_events","type":"User","site_admin":false},"html_url":"https://github.com/czertbytes/mattermost-server","description":"Open source Slack-alternative in Golang and React - Mattermost","fork":true,"url":"https://api.github.com/repos/czertbytes/mattermost-server","forks_url":"https://api.github.com/repos/czertbytes/mattermost-server/forks","keys_url":"https://api.github.com/repos/czertbytes/mattermost-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/czertbytes/mattermost-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/czertbytes/mattermost-server/teams","hooks_url":"https://api.github.com/repos/czertbytes/mattermost-server/hooks","issue_events_url":"https://api.github.com/repos/czertbytes/mattermost-server/issues/events{/number}","events_url":"https://api.github.com/repos/czertbytes/mattermost-server/events","assignees_url":"https://api.github.com/repos/czertbytes/mattermost-server/assignees{/user}","branches_url":"https://api.github.com/repos/czertbytes/mattermost-server/branches{/branch}","tags_url":"https://api.github.com/repos/czertbytes/mattermost-server/tags","blobs_url":"https://api.github.com/repos/czertbytes/mattermost-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/czertbytes/mattermost-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/czertbytes/mattermost-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/czertbytes/mattermost-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/czertbytes/mattermost-server/statuses/{sha}","languages_url":"https://api.github.com/repos/czertbytes/mattermost-server/languages","stargazers_url":"https://api.github.com/repos/czertbytes/mattermost-server/stargazers","contributors_url":"https://api.github.com/repos/czertbytes/mattermost-server/contributors","subscribers_url":"https://api.github.com/repos/czertbytes/mattermost-server/subscribers","subscription_url":"https://api.github.com/repos/czertbytes/mattermost-server/subscription","commits_url":"https://api.github.com/repos/czertbytes/mattermost-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/czertbytes/mattermost-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/czertbytes/mattermost-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/czertbytes/mattermost-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/czertbytes/mattermost-server/contents/{+path}","compare_url":"https://api.github.com/repos/czertbytes/mattermost-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/czertbytes/mattermost-server/merges","archive_url":"https://api.github.com/repos/czertbytes/mattermost-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/czertbytes/mattermost-server/downloads","issues_url":"https://api.github.com/repos/czertbytes/mattermost-server/issues{/number}","pulls_url":"https://api.github.com/repos/czertbytes/mattermost-server/pulls{/number}","milestones_url":"https://api.github.com/repos/czertbytes/mattermost-server/milestones{/number}","notifications_url":"https://api.github.com/repos/czertbytes/mattermost-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/czertbytes/mattermost-server/labels{/name}","releases_url":"https://api.github.com/repos/czertbytes/mattermost-server/releases{/id}","deployments_url":"https://api.github.com/repos/czertbytes/mattermost-server/deployments","created_at":"2018-10-12T17:12:11Z","updated_at":"2018-10-17T13:50:00Z","pushed_at":"2018-10-17T14:48:50Z","git_url":"git://github.com/czertbytes/mattermost-server.git","ssh_url":"git@github.com:czertbytes/mattermost-server.git","clone_url":"https://github.com/czertbytes/mattermost-server.git","svn_url":"https://github.com/czertbytes/mattermost-server","homepage":"https://mattermost.com","size":311677,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mattermost:master","ref":"master","sha":"7d66ef0805895c4a56c0415c90de9d146ed25839","user":{"login":"mattermost","id":9828093,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4MjgwOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/9828093?v=4","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"repo":{"id":37448451,"node_id":"MDEwOlJlcG9zaXRvcnkzNzQ0ODQ1MQ==","name":"mattermost-server","full_name":"mattermost/mattermost-server","private":false,"owner":{"login":"mattermost","id":9828093,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4MjgwOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/9828093?v=4","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mattermost/mattermost-server","description":"Open source Slack-alternative in Golang and React - Mattermost","fork":false,"url":"https://api.github.com/repos/mattermost/mattermost-server","forks_url":"https://api.github.com/repos/mattermost/mattermost-server/forks","keys_url":"https://api.github.com/repos/mattermost/mattermost-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattermost/mattermost-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattermost/mattermost-server/teams","hooks_url":"https://api.github.com/repos/mattermost/mattermost-server/hooks","issue_events_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/events{/number}","events_url":"https://api.github.com/repos/mattermost/mattermost-server/events","assignees_url":"https://api.github.com/repos/mattermost/mattermost-server/assignees{/user}","branches_url":"https://api.github.com/repos/mattermost/mattermost-server/branches{/branch}","tags_url":"https://api.github.com/repos/mattermost/mattermost-server/tags","blobs_url":"https://api.github.com/repos/mattermost/mattermost-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattermost/mattermost-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattermost/mattermost-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattermost/mattermost-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattermost/mattermost-server/statuses/{sha}","languages_url":"https://api.github.com/repos/mattermost/mattermost-server/languages","stargazers_url":"https://api.github.com/repos/mattermost/mattermost-server/stargazers","contributors_url":"https://api.github.com/repos/mattermost/mattermost-server/contributors","subscribers_url":"https://api.github.com/repos/mattermost/mattermost-server/subscribers","subscription_url":"https://api.github.com/repos/mattermost/mattermost-server/subscription","commits_url":"https://api.github.com/repos/mattermost/mattermost-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattermost/mattermost-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattermost/mattermost-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattermost/mattermost-server/contents/{+path}","compare_url":"https://api.github.com/repos/mattermost/mattermost-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattermost/mattermost-server/merges","archive_url":"https://api.github.com/repos/mattermost/mattermost-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattermost/mattermost-server/downloads","issues_url":"https://api.github.com/repos/mattermost/mattermost-server/issues{/number}","pulls_url":"https://api.github.com/repos/mattermost/mattermost-server/pulls{/number}","milestones_url":"https://api.github.com/repos/mattermost/mattermost-server/milestones{/number}","notifications_url":"https://api.github.com/repos/mattermost/mattermost-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattermost/mattermost-server/labels{/name}","releases_url":"https://api.github.com/repos/mattermost/mattermost-server/releases{/id}","deployments_url":"https://api.github.com/repos/mattermost/mattermost-server/deployments","created_at":"2015-06-15T06:50:02Z","updated_at":"2018-10-17T16:51:20Z","pushed_at":"2018-10-17T19:55:30Z","git_url":"git://github.com/mattermost/mattermost-server.git","ssh_url":"git@github.com:mattermost/mattermost-server.git","clone_url":"https://github.com/mattermost/mattermost-server.git","svn_url":"https://github.com/mattermost/mattermost-server","homepage":"https://mattermost.com","size":311814,"stargazers_count":13273,"watchers_count":13273,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2460,"mirror_url":null,"archived":false,"open_issues_count":225,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2460,"open_issues":225,"watchers":13273,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/9643"},"html":{"href":"https://github.com/mattermost/mattermost-server/pull/9643"},"issue":{"href":"https://api.github.com/repos/mattermost/mattermost-server/issues/9643"},"comments":{"href":"https://api.github.com/repos/mattermost/mattermost-server/issues/9643/comments"},"review_comments":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/9643/comments"},"review_comment":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/9643/commits"},"statuses":{"href":"https://api.github.com/repos/mattermost/mattermost-server/statuses/e4519627f706910d5d9b9f26cf64e25f4335d24a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hanzei"}}