{"action":"opened","number":37,"pull_request":{"url":"https://api.github.com/repos/HubSpot/slack-client/pulls/37","id":196578036,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NTc4MDM2","html_url":"https://github.com/HubSpot/slack-client/pull/37","diff_url":"https://github.com/HubSpot/slack-client/pull/37.diff","patch_url":"https://github.com/HubSpot/slack-client/pull/37.patch","issue_url":"https://api.github.com/repos/HubSpot/slack-client/issues/37","number":37,"state":"open","locked":false,"title":"allow empty text field if attachments are provided","user":{"login":"darcatron","id":5615725,"node_id":"MDQ6VXNlcjU2MTU3MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/5615725?v=4","gravatar_id":"","url":"https://api.github.com/users/darcatron","html_url":"https://github.com/darcatron","followers_url":"https://api.github.com/users/darcatron/followers","following_url":"https://api.github.com/users/darcatron/following{/other_user}","gists_url":"https://api.github.com/users/darcatron/gists{/gist_id}","starred_url":"https://api.github.com/users/darcatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darcatron/subscriptions","organizations_url":"https://api.github.com/users/darcatron/orgs","repos_url":"https://api.github.com/users/darcatron/repos","events_url":"https://api.github.com/users/darcatron/events{/privacy}","received_events_url":"https://api.github.com/users/darcatron/received_events","type":"User","site_admin":false},"body":"Resolves: https://github.com/HubSpot/slack-client/issues/21\r\n\r\nTested locally\r\n\r\nI tried having the check within the parent `MessageParams` but I got test failures like:\r\n```\r\npojosDoDeserializeHasChannelsWithChannelField[class com.hubspot.slack.client.methods.params.chat.ChatUpdateMessageParams](com.hubspot.slack.client.HasChannelDeserializerTest)  Time elapsed: 0.002 sec  <<< ERROR!\r\njava.lang.reflect.InvocationTargetException\r\n```\r\n\r\nAny thoughts on this @szabowexler ?","created_at":"2018-06-21T21:16:15Z","updated_at":"2018-06-21T21:16:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/HubSpot/slack-client/pulls/37/commits","review_comments_url":"https://api.github.com/repos/HubSpot/slack-client/pulls/37/comments","review_comment_url":"https://api.github.com/repos/HubSpot/slack-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HubSpot/slack-client/issues/37/comments","statuses_url":"https://api.github.com/repos/HubSpot/slack-client/statuses/5e156af362fcea76d5cbcb3cfee37566646a340f","head":{"label":"HubSpot:nothing-to-say","ref":"nothing-to-say","sha":"5e156af362fcea76d5cbcb3cfee37566646a340f","user":{"login":"HubSpot","id":326419,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjQxOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/326419?v=4","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"repo":{"id":125078412,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUwNzg0MTI=","name":"slack-client","full_name":"HubSpot/slack-client","owner":{"login":"HubSpot","id":326419,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjQxOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/326419?v=4","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HubSpot/slack-client","description":"An asynchronous HTTP client for Slack's web API","fork":false,"url":"https://api.github.com/repos/HubSpot/slack-client","forks_url":"https://api.github.com/repos/HubSpot/slack-client/forks","keys_url":"https://api.github.com/repos/HubSpot/slack-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HubSpot/slack-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HubSpot/slack-client/teams","hooks_url":"https://api.github.com/repos/HubSpot/slack-client/hooks","issue_events_url":"https://api.github.com/repos/HubSpot/slack-client/issues/events{/number}","events_url":"https://api.github.com/repos/HubSpot/slack-client/events","assignees_url":"https://api.github.com/repos/HubSpot/slack-client/assignees{/user}","branches_url":"https://api.github.com/repos/HubSpot/slack-client/branches{/branch}","tags_url":"https://api.github.com/repos/HubSpot/slack-client/tags","blobs_url":"https://api.github.com/repos/HubSpot/slack-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HubSpot/slack-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HubSpot/slack-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/HubSpot/slack-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HubSpot/slack-client/statuses/{sha}","languages_url":"https://api.github.com/repos/HubSpot/slack-client/languages","stargazers_url":"https://api.github.com/repos/HubSpot/slack-client/stargazers","contributors_url":"https://api.github.com/repos/HubSpot/slack-client/contributors","subscribers_url":"https://api.github.com/repos/HubSpot/slack-client/subscribers","subscription_url":"https://api.github.com/repos/HubSpot/slack-client/subscription","commits_url":"https://api.github.com/repos/HubSpot/slack-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/HubSpot/slack-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/HubSpot/slack-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/HubSpot/slack-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/HubSpot/slack-client/contents/{+path}","compare_url":"https://api.github.com/repos/HubSpot/slack-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HubSpot/slack-client/merges","archive_url":"https://api.github.com/repos/HubSpot/slack-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HubSpot/slack-client/downloads","issues_url":"https://api.github.com/repos/HubSpot/slack-client/issues{/number}","pulls_url":"https://api.github.com/repos/HubSpot/slack-client/pulls{/number}","milestones_url":"https://api.github.com/repos/HubSpot/slack-client/milestones{/number}","notifications_url":"https://api.github.com/repos/HubSpot/slack-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HubSpot/slack-client/labels{/name}","releases_url":"https://api.github.com/repos/HubSpot/slack-client/releases{/id}","deployments_url":"https://api.github.com/repos/HubSpot/slack-client/deployments","created_at":"2018-03-13T16:04:25Z","updated_at":"2018-06-21T17:52:08Z","pushed_at":"2018-06-21T21:01:14Z","git_url":"git://github.com/HubSpot/slack-client.git","ssh_url":"git@github.com:HubSpot/slack-client.git","clone_url":"https://github.com/HubSpot/slack-client.git","svn_url":"https://github.com/HubSpot/slack-client","homepage":"","size":230,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4,"open_issues":2,"watchers":9,"default_branch":"master"}},"base":{"label":"HubSpot:master","ref":"master","sha":"63e8bfee84f8d53739a88646a00f85fb618d9d9f","user":{"login":"HubSpot","id":326419,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjQxOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/326419?v=4","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"repo":{"id":125078412,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUwNzg0MTI=","name":"slack-client","full_name":"HubSpot/slack-client","owner":{"login":"HubSpot","id":326419,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjQxOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/326419?v=4","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HubSpot/slack-client","description":"An asynchronous HTTP client for Slack's web API","fork":false,"url":"https://api.github.com/repos/HubSpot/slack-client","forks_url":"https://api.github.com/repos/HubSpot/slack-client/forks","keys_url":"https://api.github.com/repos/HubSpot/slack-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HubSpot/slack-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HubSpot/slack-client/teams","hooks_url":"https://api.github.com/repos/HubSpot/slack-client/hooks","issue_events_url":"https://api.github.com/repos/HubSpot/slack-client/issues/events{/number}","events_url":"https://api.github.com/repos/HubSpot/slack-client/events","assignees_url":"https://api.github.com/repos/HubSpot/slack-client/assignees{/user}","branches_url":"https://api.github.com/repos/HubSpot/slack-client/branches{/branch}","tags_url":"https://api.github.com/repos/HubSpot/slack-client/tags","blobs_url":"https://api.github.com/repos/HubSpot/slack-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HubSpot/slack-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HubSpot/slack-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/HubSpot/slack-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HubSpot/slack-client/statuses/{sha}","languages_url":"https://api.github.com/repos/HubSpot/slack-client/languages","stargazers_url":"https://api.github.com/repos/HubSpot/slack-client/stargazers","contributors_url":"https://api.github.com/repos/HubSpot/slack-client/contributors","subscribers_url":"https://api.github.com/repos/HubSpot/slack-client/subscribers","subscription_url":"https://api.github.com/repos/HubSpot/slack-client/subscription","commits_url":"https://api.github.com/repos/HubSpot/slack-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/HubSpot/slack-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/HubSpot/slack-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/HubSpot/slack-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/HubSpot/slack-client/contents/{+path}","compare_url":"https://api.github.com/repos/HubSpot/slack-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HubSpot/slack-client/merges","archive_url":"https://api.github.com/repos/HubSpot/slack-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HubSpot/slack-client/downloads","issues_url":"https://api.github.com/repos/HubSpot/slack-client/issues{/number}","pulls_url":"https://api.github.com/repos/HubSpot/slack-client/pulls{/number}","milestones_url":"https://api.github.com/repos/HubSpot/slack-client/milestones{/number}","notifications_url":"https://api.github.com/repos/HubSpot/slack-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HubSpot/slack-client/labels{/name}","releases_url":"https://api.github.com/repos/HubSpot/slack-client/releases{/id}","deployments_url":"https://api.github.com/repos/HubSpot/slack-client/deployments","created_at":"2018-03-13T16:04:25Z","updated_at":"2018-06-21T17:52:08Z","pushed_at":"2018-06-21T21:01:14Z","git_url":"git://github.com/HubSpot/slack-client.git","ssh_url":"git@github.com:HubSpot/slack-client.git","clone_url":"https://github.com/HubSpot/slack-client.git","svn_url":"https://github.com/HubSpot/slack-client","homepage":"","size":230,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4,"open_issues":2,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HubSpot/slack-client/pulls/37"},"html":{"href":"https://github.com/HubSpot/slack-client/pull/37"},"issue":{"href":"https://api.github.com/repos/HubSpot/slack-client/issues/37"},"comments":{"href":"https://api.github.com/repos/HubSpot/slack-client/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/HubSpot/slack-client/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/HubSpot/slack-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HubSpot/slack-client/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/HubSpot/slack-client/statuses/5e156af362fcea76d5cbcb3cfee37566646a340f"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":30,"deletions":3,"changed_files":4}}
{"actor":{"display_login":"darcatron"}}