{"action":"created","comment":{"url":"https://api.github.com/repos/nlopes/slack/pulls/comments/38362440","id":38362440,"diff_hunk":"@@ -12,10 +12,14 @@ type conversation struct {\n }\n \n // GroupConversation is the foundation for Group and Channel\n-type groupConversation struct {\n-\tconversation\n+type GroupConversation struct {\n+\tConversation\n \tName       string   `json:\"name\"`\n \tCreator    string   `json:\"creator\"`\n+\tIsChannel  bool     `json:\"is_channel\"`\n+\tIsGroup    bool     `json:\"is_group\"`","path":"conversation.go","position":20,"original_position":20,"commit_id":"96dc92edc3f0c19d9e1314b89bd369c680d7ab57","original_commit_id":"96dc92edc3f0c19d9e1314b89bd369c680d7ab57","user":{"login":"joefitzgerald","id":744740,"avatar_url":"https://avatars.githubusercontent.com/u/744740?v=3","gravatar_id":"","url":"https://api.github.com/users/joefitzgerald","html_url":"https://github.com/joefitzgerald","followers_url":"https://api.github.com/users/joefitzgerald/followers","following_url":"https://api.github.com/users/joefitzgerald/following{/other_user}","gists_url":"https://api.github.com/users/joefitzgerald/gists{/gist_id}","starred_url":"https://api.github.com/users/joefitzgerald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joefitzgerald/subscriptions","organizations_url":"https://api.github.com/users/joefitzgerald/orgs","repos_url":"https://api.github.com/users/joefitzgerald/repos","events_url":"https://api.github.com/users/joefitzgerald/events{/privacy}","received_events_url":"https://api.github.com/users/joefitzgerald/received_events","type":"User","site_admin":false},"body":"Not valid in a Channel.","created_at":"2015-08-31T21:34:13Z","updated_at":"2015-08-31T21:34:13Z","html_url":"https://github.com/nlopes/slack/pull/42#discussion_r38362440","pull_request_url":"https://api.github.com/repos/nlopes/slack/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/nlopes/slack/pulls/comments/38362440"},"html":{"href":"https://github.com/nlopes/slack/pull/42#discussion_r38362440"},"pull_request":{"href":"https://api.github.com/repos/nlopes/slack/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/nlopes/slack/pulls/42","id":42970146,"html_url":"https://github.com/nlopes/slack/pull/42","diff_url":"https://github.com/nlopes/slack/pull/42.diff","patch_url":"https://github.com/nlopes/slack/pull/42.patch","issue_url":"https://api.github.com/repos/nlopes/slack/issues/42","number":42,"state":"closed","locked":false,"title":"GroupConversation: open and centralize some boolean flags.","user":{"login":"abourget","id":93424,"avatar_url":"https://avatars.githubusercontent.com/u/93424?v=3","gravatar_id":"","url":"https://api.github.com/users/abourget","html_url":"https://github.com/abourget","followers_url":"https://api.github.com/users/abourget/followers","following_url":"https://api.github.com/users/abourget/following{/other_user}","gists_url":"https://api.github.com/users/abourget/gists{/gist_id}","starred_url":"https://api.github.com/users/abourget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abourget/subscriptions","organizations_url":"https://api.github.com/users/abourget/orgs","repos_url":"https://api.github.com/users/abourget/repos","events_url":"https://api.github.com/users/abourget/events{/privacy}","received_events_url":"https://api.github.com/users/abourget/received_events","type":"User","site_admin":false},"body":"In https://github.com/abourget/slick .. I keep references to those channels and conversations, and I sometimes tweak them... I need to be able to create some and keep them updated..\r\n\r\nany reasons to keep those internal ?\r\n\r\nThis is just a proposition.. nothing fixed in stone here..","created_at":"2015-08-20T19:46:26Z","updated_at":"2015-08-31T21:34:13Z","closed_at":"2015-08-22T15:59:54Z","merged_at":"2015-08-22T15:59:54Z","merge_commit_sha":"da3fef3f5f8ef29d76320382d3b559e0d1e7c4f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nlopes/slack/pulls/42/commits","review_comments_url":"https://api.github.com/repos/nlopes/slack/pulls/42/comments","review_comment_url":"https://api.github.com/repos/nlopes/slack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nlopes/slack/issues/42/comments","statuses_url":"https://api.github.com/repos/nlopes/slack/statuses/96dc92edc3f0c19d9e1314b89bd369c680d7ab57","head":{"label":"abourget:nlopes-breaking-changes","ref":"nlopes-breaking-changes","sha":"96dc92edc3f0c19d9e1314b89bd369c680d7ab57","user":{"login":"abourget","id":93424,"avatar_url":"https://avatars.githubusercontent.com/u/93424?v=3","gravatar_id":"","url":"https://api.github.com/users/abourget","html_url":"https://github.com/abourget","followers_url":"https://api.github.com/users/abourget/followers","following_url":"https://api.github.com/users/abourget/following{/other_user}","gists_url":"https://api.github.com/users/abourget/gists{/gist_id}","starred_url":"https://api.github.com/users/abourget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abourget/subscriptions","organizations_url":"https://api.github.com/users/abourget/orgs","repos_url":"https://api.github.com/users/abourget/repos","events_url":"https://api.github.com/users/abourget/events{/privacy}","received_events_url":"https://api.github.com/users/abourget/received_events","type":"User","site_admin":false},"repo":{"id":36333485,"name":"slack","full_name":"abourget/slack","owner":{"login":"abourget","id":93424,"avatar_url":"https://avatars.githubusercontent.com/u/93424?v=3","gravatar_id":"","url":"https://api.github.com/users/abourget","html_url":"https://github.com/abourget","followers_url":"https://api.github.com/users/abourget/followers","following_url":"https://api.github.com/users/abourget/following{/other_user}","gists_url":"https://api.github.com/users/abourget/gists{/gist_id}","starred_url":"https://api.github.com/users/abourget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abourget/subscriptions","organizations_url":"https://api.github.com/users/abourget/orgs","repos_url":"https://api.github.com/users/abourget/repos","events_url":"https://api.github.com/users/abourget/events{/privacy}","received_events_url":"https://api.github.com/users/abourget/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abourget/slack","description":"Slack API in Go","fork":true,"url":"https://api.github.com/repos/abourget/slack","forks_url":"https://api.github.com/repos/abourget/slack/forks","keys_url":"https://api.github.com/repos/abourget/slack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abourget/slack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abourget/slack/teams","hooks_url":"https://api.github.com/repos/abourget/slack/hooks","issue_events_url":"https://api.github.com/repos/abourget/slack/issues/events{/number}","events_url":"https://api.github.com/repos/abourget/slack/events","assignees_url":"https://api.github.com/repos/abourget/slack/assignees{/user}","branches_url":"https://api.github.com/repos/abourget/slack/branches{/branch}","tags_url":"https://api.github.com/repos/abourget/slack/tags","blobs_url":"https://api.github.com/repos/abourget/slack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abourget/slack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abourget/slack/git/refs{/sha}","trees_url":"https://api.github.com/repos/abourget/slack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abourget/slack/statuses/{sha}","languages_url":"https://api.github.com/repos/abourget/slack/languages","stargazers_url":"https://api.github.com/repos/abourget/slack/stargazers","contributors_url":"https://api.github.com/repos/abourget/slack/contributors","subscribers_url":"https://api.github.com/repos/abourget/slack/subscribers","subscription_url":"https://api.github.com/repos/abourget/slack/subscription","commits_url":"https://api.github.com/repos/abourget/slack/commits{/sha}","git_commits_url":"https://api.github.com/repos/abourget/slack/git/commits{/sha}","comments_url":"https://api.github.com/repos/abourget/slack/comments{/number}","issue_comment_url":"https://api.github.com/repos/abourget/slack/issues/comments{/number}","contents_url":"https://api.github.com/repos/abourget/slack/contents/{+path}","compare_url":"https://api.github.com/repos/abourget/slack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abourget/slack/merges","archive_url":"https://api.github.com/repos/abourget/slack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abourget/slack/downloads","issues_url":"https://api.github.com/repos/abourget/slack/issues{/number}","pulls_url":"https://api.github.com/repos/abourget/slack/pulls{/number}","milestones_url":"https://api.github.com/repos/abourget/slack/milestones{/number}","notifications_url":"https://api.github.com/repos/abourget/slack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abourget/slack/labels{/name}","releases_url":"https://api.github.com/repos/abourget/slack/releases{/id}","created_at":"2015-05-27T00:59:38Z","updated_at":"2015-07-08T12:18:51Z","pushed_at":"2015-08-26T20:45:02Z","git_url":"git://github.com/abourget/slack.git","ssh_url":"git@github.com:abourget/slack.git","clone_url":"https://github.com/abourget/slack.git","svn_url":"https://github.com/abourget/slack","homepage":null,"size":205,"stargazers_count":3,"watchers_count":3,"language":"Go","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":3,"default_branch":"master"}},"base":{"label":"nlopes:master","ref":"master","sha":"0c92f27523cc9e3ed470d628f1dd6839b14f88fe","user":{"login":"nlopes","id":652790,"avatar_url":"https://avatars.githubusercontent.com/u/652790?v=3","gravatar_id":"","url":"https://api.github.com/users/nlopes","html_url":"https://github.com/nlopes","followers_url":"https://api.github.com/users/nlopes/followers","following_url":"https://api.github.com/users/nlopes/following{/other_user}","gists_url":"https://api.github.com/users/nlopes/gists{/gist_id}","starred_url":"https://api.github.com/users/nlopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlopes/subscriptions","organizations_url":"https://api.github.com/users/nlopes/orgs","repos_url":"https://api.github.com/users/nlopes/repos","events_url":"https://api.github.com/users/nlopes/events{/privacy}","received_events_url":"https://api.github.com/users/nlopes/received_events","type":"User","site_admin":false},"repo":{"id":29778781,"name":"slack","full_name":"nlopes/slack","owner":{"login":"nlopes","id":652790,"avatar_url":"https://avatars.githubusercontent.com/u/652790?v=3","gravatar_id":"","url":"https://api.github.com/users/nlopes","html_url":"https://github.com/nlopes","followers_url":"https://api.github.com/users/nlopes/followers","following_url":"https://api.github.com/users/nlopes/following{/other_user}","gists_url":"https://api.github.com/users/nlopes/gists{/gist_id}","starred_url":"https://api.github.com/users/nlopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlopes/subscriptions","organizations_url":"https://api.github.com/users/nlopes/orgs","repos_url":"https://api.github.com/users/nlopes/repos","events_url":"https://api.github.com/users/nlopes/events{/privacy}","received_events_url":"https://api.github.com/users/nlopes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nlopes/slack","description":"Slack API in Go","fork":false,"url":"https://api.github.com/repos/nlopes/slack","forks_url":"https://api.github.com/repos/nlopes/slack/forks","keys_url":"https://api.github.com/repos/nlopes/slack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nlopes/slack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nlopes/slack/teams","hooks_url":"https://api.github.com/repos/nlopes/slack/hooks","issue_events_url":"https://api.github.com/repos/nlopes/slack/issues/events{/number}","events_url":"https://api.github.com/repos/nlopes/slack/events","assignees_url":"https://api.github.com/repos/nlopes/slack/assignees{/user}","branches_url":"https://api.github.com/repos/nlopes/slack/branches{/branch}","tags_url":"https://api.github.com/repos/nlopes/slack/tags","blobs_url":"https://api.github.com/repos/nlopes/slack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nlopes/slack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nlopes/slack/git/refs{/sha}","trees_url":"https://api.github.com/repos/nlopes/slack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nlopes/slack/statuses/{sha}","languages_url":"https://api.github.com/repos/nlopes/slack/languages","stargazers_url":"https://api.github.com/repos/nlopes/slack/stargazers","contributors_url":"https://api.github.com/repos/nlopes/slack/contributors","subscribers_url":"https://api.github.com/repos/nlopes/slack/subscribers","subscription_url":"https://api.github.com/repos/nlopes/slack/subscription","commits_url":"https://api.github.com/repos/nlopes/slack/commits{/sha}","git_commits_url":"https://api.github.com/repos/nlopes/slack/git/commits{/sha}","comments_url":"https://api.github.com/repos/nlopes/slack/comments{/number}","issue_comment_url":"https://api.github.com/repos/nlopes/slack/issues/comments{/number}","contents_url":"https://api.github.com/repos/nlopes/slack/contents/{+path}","compare_url":"https://api.github.com/repos/nlopes/slack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nlopes/slack/merges","archive_url":"https://api.github.com/repos/nlopes/slack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nlopes/slack/downloads","issues_url":"https://api.github.com/repos/nlopes/slack/issues{/number}","pulls_url":"https://api.github.com/repos/nlopes/slack/pulls{/number}","milestones_url":"https://api.github.com/repos/nlopes/slack/milestones{/number}","notifications_url":"https://api.github.com/repos/nlopes/slack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nlopes/slack/labels{/name}","releases_url":"https://api.github.com/repos/nlopes/slack/releases{/id}","created_at":"2015-01-24T14:19:00Z","updated_at":"2015-08-31T08:06:30Z","pushed_at":"2015-08-23T16:37:32Z","git_url":"git://github.com/nlopes/slack.git","ssh_url":"git@github.com:nlopes/slack.git","clone_url":"https://github.com/nlopes/slack.git","svn_url":"https://github.com/nlopes/slack","homepage":null,"size":592,"stargazers_count":157,"watchers_count":157,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":6,"forks":35,"open_issues":6,"watchers":157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nlopes/slack/pulls/42"},"html":{"href":"https://github.com/nlopes/slack/pull/42"},"issue":{"href":"https://api.github.com/repos/nlopes/slack/issues/42"},"comments":{"href":"https://api.github.com/repos/nlopes/slack/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/nlopes/slack/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/nlopes/slack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nlopes/slack/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/nlopes/slack/statuses/96dc92edc3f0c19d9e1314b89bd369c680d7ab57"}}}}