{"action":"created","comment":{"url":"https://api.github.com/repos/messagebird/go-rest-api/pulls/comments/145968982","pull_request_review_id":70849101,"id":145968982,"diff_hunk":"@@ -196,6 +196,38 @@ func (c *Client) NewMessage(originator string, recipients []string, body string,\n \treturn message, nil\n }\n \n+func (c *Client) NewMmsMessage(originator string, recipients []string, body string, mediaUrls []string, msgParams *MmsMessageParams) (*MmsMessage, error) {","path":"client.go","position":4,"original_position":4,"commit_id":"5ddfbb7fb835e5ddbfe95de7fa7e805b428953d3","original_commit_id":"5ddfbb7fb835e5ddbfe95de7fa7e805b428953d3","user":{"login":"prep","id":2017915,"avatar_url":"https://avatars2.githubusercontent.com/u/2017915?v=4","gravatar_id":"","url":"https://api.github.com/users/prep","html_url":"https://github.com/prep","followers_url":"https://api.github.com/users/prep/followers","following_url":"https://api.github.com/users/prep/following{/other_user}","gists_url":"https://api.github.com/users/prep/gists{/gist_id}","starred_url":"https://api.github.com/users/prep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prep/subscriptions","organizations_url":"https://api.github.com/users/prep/orgs","repos_url":"https://api.github.com/users/prep/repos","events_url":"https://api.github.com/users/prep/events{/privacy}","received_events_url":"https://api.github.com/users/prep/received_events","type":"User","site_admin":false},"body":"Since we only need either `body` or `mediaUrls`, it might be nicer to move them out of the function parameter list and into the `MmsMessageParams{}` struct.","created_at":"2017-10-20T13:53:57Z","updated_at":"2017-10-20T13:53:57Z","html_url":"https://github.com/messagebird/go-rest-api/pull/14#discussion_r145968982","pull_request_url":"https://api.github.com/repos/messagebird/go-rest-api/pulls/14","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/messagebird/go-rest-api/pulls/comments/145968982"},"html":{"href":"https://github.com/messagebird/go-rest-api/pull/14#discussion_r145968982"},"pull_request":{"href":"https://api.github.com/repos/messagebird/go-rest-api/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/messagebird/go-rest-api/pulls/14","id":147800826,"html_url":"https://github.com/messagebird/go-rest-api/pull/14","diff_url":"https://github.com/messagebird/go-rest-api/pull/14.diff","patch_url":"https://github.com/messagebird/go-rest-api/pull/14.patch","issue_url":"https://api.github.com/repos/messagebird/go-rest-api/issues/14","number":14,"state":"open","locked":false,"title":"Add mms functionality","user":{"login":"Dirk94","id":2823049,"avatar_url":"https://avatars0.githubusercontent.com/u/2823049?v=4","gravatar_id":"","url":"https://api.github.com/users/Dirk94","html_url":"https://github.com/Dirk94","followers_url":"https://api.github.com/users/Dirk94/followers","following_url":"https://api.github.com/users/Dirk94/following{/other_user}","gists_url":"https://api.github.com/users/Dirk94/gists{/gist_id}","starred_url":"https://api.github.com/users/Dirk94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dirk94/subscriptions","organizations_url":"https://api.github.com/users/Dirk94/orgs","repos_url":"https://api.github.com/users/Dirk94/repos","events_url":"https://api.github.com/users/Dirk94/events{/privacy}","received_events_url":"https://api.github.com/users/Dirk94/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-20T13:31:16Z","updated_at":"2017-10-20T13:53:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f89470bdc12d8028d5b04de9e61d484c5eaef32b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"cooldarkdryplace","id":6103939,"avatar_url":"https://avatars1.githubusercontent.com/u/6103939?v=4","gravatar_id":"","url":"https://api.github.com/users/cooldarkdryplace","html_url":"https://github.com/cooldarkdryplace","followers_url":"https://api.github.com/users/cooldarkdryplace/followers","following_url":"https://api.github.com/users/cooldarkdryplace/following{/other_user}","gists_url":"https://api.github.com/users/cooldarkdryplace/gists{/gist_id}","starred_url":"https://api.github.com/users/cooldarkdryplace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooldarkdryplace/subscriptions","organizations_url":"https://api.github.com/users/cooldarkdryplace/orgs","repos_url":"https://api.github.com/users/cooldarkdryplace/repos","events_url":"https://api.github.com/users/cooldarkdryplace/events{/privacy}","received_events_url":"https://api.github.com/users/cooldarkdryplace/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/messagebird/go-rest-api/pulls/14/commits","review_comments_url":"https://api.github.com/repos/messagebird/go-rest-api/pulls/14/comments","review_comment_url":"https://api.github.com/repos/messagebird/go-rest-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/messagebird/go-rest-api/issues/14/comments","statuses_url":"https://api.github.com/repos/messagebird/go-rest-api/statuses/5ddfbb7fb835e5ddbfe95de7fa7e805b428953d3","head":{"label":"messagebird:add-mms","ref":"add-mms","sha":"5ddfbb7fb835e5ddbfe95de7fa7e805b428953d3","user":{"login":"messagebird","id":8026118,"avatar_url":"https://avatars3.githubusercontent.com/u/8026118?v=4","gravatar_id":"","url":"https://api.github.com/users/messagebird","html_url":"https://github.com/messagebird","followers_url":"https://api.github.com/users/messagebird/followers","following_url":"https://api.github.com/users/messagebird/following{/other_user}","gists_url":"https://api.github.com/users/messagebird/gists{/gist_id}","starred_url":"https://api.github.com/users/messagebird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/messagebird/subscriptions","organizations_url":"https://api.github.com/users/messagebird/orgs","repos_url":"https://api.github.com/users/messagebird/repos","events_url":"https://api.github.com/users/messagebird/events{/privacy}","received_events_url":"https://api.github.com/users/messagebird/received_events","type":"Organization","site_admin":false},"repo":{"id":21688204,"name":"go-rest-api","full_name":"messagebird/go-rest-api","owner":{"login":"messagebird","id":8026118,"avatar_url":"https://avatars3.githubusercontent.com/u/8026118?v=4","gravatar_id":"","url":"https://api.github.com/users/messagebird","html_url":"https://github.com/messagebird","followers_url":"https://api.github.com/users/messagebird/followers","following_url":"https://api.github.com/users/messagebird/following{/other_user}","gists_url":"https://api.github.com/users/messagebird/gists{/gist_id}","starred_url":"https://api.github.com/users/messagebird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/messagebird/subscriptions","organizations_url":"https://api.github.com/users/messagebird/orgs","repos_url":"https://api.github.com/users/messagebird/repos","events_url":"https://api.github.com/users/messagebird/events{/privacy}","received_events_url":"https://api.github.com/users/messagebird/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/messagebird/go-rest-api","description":"MessageBird's REST API for Go","fork":false,"url":"https://api.github.com/repos/messagebird/go-rest-api","forks_url":"https://api.github.com/repos/messagebird/go-rest-api/forks","keys_url":"https://api.github.com/repos/messagebird/go-rest-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/messagebird/go-rest-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/messagebird/go-rest-api/teams","hooks_url":"https://api.github.com/repos/messagebird/go-rest-api/hooks","issue_events_url":"https://api.github.com/repos/messagebird/go-rest-api/issues/events{/number}","events_url":"https://api.github.com/repos/messagebird/go-rest-api/events","assignees_url":"https://api.github.com/repos/messagebird/go-rest-api/assignees{/user}","branches_url":"https://api.github.com/repos/messagebird/go-rest-api/branches{/branch}","tags_url":"https://api.github.com/repos/messagebird/go-rest-api/tags","blobs_url":"https://api.github.com/repos/messagebird/go-rest-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/messagebird/go-rest-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/messagebird/go-rest-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/messagebird/go-rest-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/messagebird/go-rest-api/statuses/{sha}","languages_url":"https://api.github.com/repos/messagebird/go-rest-api/languages","stargazers_url":"https://api.github.com/repos/messagebird/go-rest-api/stargazers","contributors_url":"https://api.github.com/repos/messagebird/go-rest-api/contributors","subscribers_url":"https://api.github.com/repos/messagebird/go-rest-api/subscribers","subscription_url":"https://api.github.com/repos/messagebird/go-rest-api/subscription","commits_url":"https://api.github.com/repos/messagebird/go-rest-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/messagebird/go-rest-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/messagebird/go-rest-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/messagebird/go-rest-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/messagebird/go-rest-api/contents/{+path}","compare_url":"https://api.github.com/repos/messagebird/go-rest-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/messagebird/go-rest-api/merges","archive_url":"https://api.github.com/repos/messagebird/go-rest-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/messagebird/go-rest-api/downloads","issues_url":"https://api.github.com/repos/messagebird/go-rest-api/issues{/number}","pulls_url":"https://api.github.com/repos/messagebird/go-rest-api/pulls{/number}","milestones_url":"https://api.github.com/repos/messagebird/go-rest-api/milestones{/number}","notifications_url":"https://api.github.com/repos/messagebird/go-rest-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/messagebird/go-rest-api/labels{/name}","releases_url":"https://api.github.com/repos/messagebird/go-rest-api/releases{/id}","deployments_url":"https://api.github.com/repos/messagebird/go-rest-api/deployments","created_at":"2014-07-10T09:16:59Z","updated_at":"2017-10-08T13:01:27Z","pushed_at":"2017-10-20T13:31:16Z","git_url":"git://github.com/messagebird/go-rest-api.git","ssh_url":"git@github.com:messagebird/go-rest-api.git","clone_url":"https://github.com/messagebird/go-rest-api.git","svn_url":"https://github.com/messagebird/go-rest-api","homepage":null,"size":39,"stargazers_count":19,"watchers_count":19,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":19,"default_branch":"master"}},"base":{"label":"messagebird:master","ref":"master","sha":"a505e01a7789c134e09737b4ed78aff748848259","user":{"login":"messagebird","id":8026118,"avatar_url":"https://avatars3.githubusercontent.com/u/8026118?v=4","gravatar_id":"","url":"https://api.github.com/users/messagebird","html_url":"https://github.com/messagebird","followers_url":"https://api.github.com/users/messagebird/followers","following_url":"https://api.github.com/users/messagebird/following{/other_user}","gists_url":"https://api.github.com/users/messagebird/gists{/gist_id}","starred_url":"https://api.github.com/users/messagebird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/messagebird/subscriptions","organizations_url":"https://api.github.com/users/messagebird/orgs","repos_url":"https://api.github.com/users/messagebird/repos","events_url":"https://api.github.com/users/messagebird/events{/privacy}","received_events_url":"https://api.github.com/users/messagebird/received_events","type":"Organization","site_admin":false},"repo":{"id":21688204,"name":"go-rest-api","full_name":"messagebird/go-rest-api","owner":{"login":"messagebird","id":8026118,"avatar_url":"https://avatars3.githubusercontent.com/u/8026118?v=4","gravatar_id":"","url":"https://api.github.com/users/messagebird","html_url":"https://github.com/messagebird","followers_url":"https://api.github.com/users/messagebird/followers","following_url":"https://api.github.com/users/messagebird/following{/other_user}","gists_url":"https://api.github.com/users/messagebird/gists{/gist_id}","starred_url":"https://api.github.com/users/messagebird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/messagebird/subscriptions","organizations_url":"https://api.github.com/users/messagebird/orgs","repos_url":"https://api.github.com/users/messagebird/repos","events_url":"https://api.github.com/users/messagebird/events{/privacy}","received_events_url":"https://api.github.com/users/messagebird/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/messagebird/go-rest-api","description":"MessageBird's REST API for Go","fork":false,"url":"https://api.github.com/repos/messagebird/go-rest-api","forks_url":"https://api.github.com/repos/messagebird/go-rest-api/forks","keys_url":"https://api.github.com/repos/messagebird/go-rest-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/messagebird/go-rest-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/messagebird/go-rest-api/teams","hooks_url":"https://api.github.com/repos/messagebird/go-rest-api/hooks","issue_events_url":"https://api.github.com/repos/messagebird/go-rest-api/issues/events{/number}","events_url":"https://api.github.com/repos/messagebird/go-rest-api/events","assignees_url":"https://api.github.com/repos/messagebird/go-rest-api/assignees{/user}","branches_url":"https://api.github.com/repos/messagebird/go-rest-api/branches{/branch}","tags_url":"https://api.github.com/repos/messagebird/go-rest-api/tags","blobs_url":"https://api.github.com/repos/messagebird/go-rest-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/messagebird/go-rest-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/messagebird/go-rest-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/messagebird/go-rest-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/messagebird/go-rest-api/statuses/{sha}","languages_url":"https://api.github.com/repos/messagebird/go-rest-api/languages","stargazers_url":"https://api.github.com/repos/messagebird/go-rest-api/stargazers","contributors_url":"https://api.github.com/repos/messagebird/go-rest-api/contributors","subscribers_url":"https://api.github.com/repos/messagebird/go-rest-api/subscribers","subscription_url":"https://api.github.com/repos/messagebird/go-rest-api/subscription","commits_url":"https://api.github.com/repos/messagebird/go-rest-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/messagebird/go-rest-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/messagebird/go-rest-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/messagebird/go-rest-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/messagebird/go-rest-api/contents/{+path}","compare_url":"https://api.github.com/repos/messagebird/go-rest-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/messagebird/go-rest-api/merges","archive_url":"https://api.github.com/repos/messagebird/go-rest-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/messagebird/go-rest-api/downloads","issues_url":"https://api.github.com/repos/messagebird/go-rest-api/issues{/number}","pulls_url":"https://api.github.com/repos/messagebird/go-rest-api/pulls{/number}","milestones_url":"https://api.github.com/repos/messagebird/go-rest-api/milestones{/number}","notifications_url":"https://api.github.com/repos/messagebird/go-rest-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/messagebird/go-rest-api/labels{/name}","releases_url":"https://api.github.com/repos/messagebird/go-rest-api/releases{/id}","deployments_url":"https://api.github.com/repos/messagebird/go-rest-api/deployments","created_at":"2014-07-10T09:16:59Z","updated_at":"2017-10-08T13:01:27Z","pushed_at":"2017-10-20T13:31:16Z","git_url":"git://github.com/messagebird/go-rest-api.git","ssh_url":"git@github.com:messagebird/go-rest-api.git","clone_url":"https://github.com/messagebird/go-rest-api.git","svn_url":"https://github.com/messagebird/go-rest-api","homepage":null,"size":39,"stargazers_count":19,"watchers_count":19,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/messagebird/go-rest-api/pulls/14"},"html":{"href":"https://github.com/messagebird/go-rest-api/pull/14"},"issue":{"href":"https://api.github.com/repos/messagebird/go-rest-api/issues/14"},"comments":{"href":"https://api.github.com/repos/messagebird/go-rest-api/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/messagebird/go-rest-api/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/messagebird/go-rest-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/messagebird/go-rest-api/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/messagebird/go-rest-api/statuses/5ddfbb7fb835e5ddbfe95de7fa7e805b428953d3"}},"author_association":"NONE"}}
{"actor":{"display_login":"prep"}}