{"action":"created","comment":{"url":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/comments/47561446","id":47561446,"diff_hunk":"@@ -357,6 +353,11 @@ - (void)sendMessage:(NSString *)messageText{\n     \n     LYRPushNotificationConfiguration *defaultConfiguration = [LYRPushNotificationConfiguration new];\n     defaultConfiguration.alert = pushMessage;\n+    //The following dictionary will appear in push payload\n+    defaultConfiguration.category = LQSCategoryIdentifier;\n+    //The following dictionary will appear in push payload\n+    NSDictionary *dataDictionary = @{@\"test_key\" : @\"test_value\"};\n+    defaultConfiguration.data = dataDictionary;","path":"QuickStart/LQSViewController.m","position":96,"original_position":96,"commit_id":"363a2c2a0140e24b2b518c8076f9aa3dcb47a134","original_commit_id":"363a2c2a0140e24b2b518c8076f9aa3dcb47a134","user":{"login":"blakewatters","id":8392,"avatar_url":"https://avatars.githubusercontent.com/u/8392?v=3","gravatar_id":"","url":"https://api.github.com/users/blakewatters","html_url":"https://github.com/blakewatters","followers_url":"https://api.github.com/users/blakewatters/followers","following_url":"https://api.github.com/users/blakewatters/following{/other_user}","gists_url":"https://api.github.com/users/blakewatters/gists{/gist_id}","starred_url":"https://api.github.com/users/blakewatters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakewatters/subscriptions","organizations_url":"https://api.github.com/users/blakewatters/orgs","repos_url":"https://api.github.com/users/blakewatters/repos","events_url":"https://api.github.com/users/blakewatters/events{/privacy}","received_events_url":"https://api.github.com/users/blakewatters/received_events","type":"User","site_admin":false},"body":"You can just do this in a single line assignment instead of using the intermediate variable","created_at":"2015-12-14T21:34:56Z","updated_at":"2015-12-14T21:34:56Z","html_url":"https://github.com/layerhq/quick-start-ios/pull/12#discussion_r47561446","pull_request_url":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/comments/47561446"},"html":{"href":"https://github.com/layerhq/quick-start-ios/pull/12#discussion_r47561446"},"pull_request":{"href":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/12","id":53457395,"html_url":"https://github.com/layerhq/quick-start-ios/pull/12","diff_url":"https://github.com/layerhq/quick-start-ios/pull/12.diff","patch_url":"https://github.com/layerhq/quick-start-ios/pull/12.patch","issue_url":"https://api.github.com/repos/layerhq/quick-start-ios/issues/12","number":12,"state":"open","locked":false,"title":"Adding example push category","user":{"login":"maju6406","id":558327,"avatar_url":"https://avatars.githubusercontent.com/u/558327?v=3","gravatar_id":"","url":"https://api.github.com/users/maju6406","html_url":"https://github.com/maju6406","followers_url":"https://api.github.com/users/maju6406/followers","following_url":"https://api.github.com/users/maju6406/following{/other_user}","gists_url":"https://api.github.com/users/maju6406/gists{/gist_id}","starred_url":"https://api.github.com/users/maju6406/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maju6406/subscriptions","organizations_url":"https://api.github.com/users/maju6406/orgs","repos_url":"https://api.github.com/users/maju6406/repos","events_url":"https://api.github.com/users/maju6406/events{/privacy}","received_events_url":"https://api.github.com/users/maju6406/received_events","type":"User","site_admin":false},"body":"Also changed the way conversation is fetched","created_at":"2015-12-11T23:28:39Z","updated_at":"2015-12-14T21:34:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e91e8b654732b9435a3fc7f261ac6f00c5381370","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/12/commits","review_comments_url":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/12/comments","review_comment_url":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/layerhq/quick-start-ios/issues/12/comments","statuses_url":"https://api.github.com/repos/layerhq/quick-start-ios/statuses/363a2c2a0140e24b2b518c8076f9aa3dcb47a134","head":{"label":"layerhq:maju6406-push20","ref":"maju6406-push20","sha":"363a2c2a0140e24b2b518c8076f9aa3dcb47a134","user":{"login":"layerhq","id":5497685,"avatar_url":"https://avatars.githubusercontent.com/u/5497685?v=3","gravatar_id":"","url":"https://api.github.com/users/layerhq","html_url":"https://github.com/layerhq","followers_url":"https://api.github.com/users/layerhq/followers","following_url":"https://api.github.com/users/layerhq/following{/other_user}","gists_url":"https://api.github.com/users/layerhq/gists{/gist_id}","starred_url":"https://api.github.com/users/layerhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layerhq/subscriptions","organizations_url":"https://api.github.com/users/layerhq/orgs","repos_url":"https://api.github.com/users/layerhq/repos","events_url":"https://api.github.com/users/layerhq/events{/privacy}","received_events_url":"https://api.github.com/users/layerhq/received_events","type":"Organization","site_admin":false},"repo":{"id":25219970,"name":"quick-start-ios","full_name":"layerhq/quick-start-ios","owner":{"login":"layerhq","id":5497685,"avatar_url":"https://avatars.githubusercontent.com/u/5497685?v=3","gravatar_id":"","url":"https://api.github.com/users/layerhq","html_url":"https://github.com/layerhq","followers_url":"https://api.github.com/users/layerhq/followers","following_url":"https://api.github.com/users/layerhq/following{/other_user}","gists_url":"https://api.github.com/users/layerhq/gists{/gist_id}","starred_url":"https://api.github.com/users/layerhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layerhq/subscriptions","organizations_url":"https://api.github.com/users/layerhq/orgs","repos_url":"https://api.github.com/users/layerhq/repos","events_url":"https://api.github.com/users/layerhq/events{/privacy}","received_events_url":"https://api.github.com/users/layerhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/layerhq/quick-start-ios","description":"Quick Start is a sample application highlighting how to integrate LayerKit...","fork":false,"url":"https://api.github.com/repos/layerhq/quick-start-ios","forks_url":"https://api.github.com/repos/layerhq/quick-start-ios/forks","keys_url":"https://api.github.com/repos/layerhq/quick-start-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/layerhq/quick-start-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/layerhq/quick-start-ios/teams","hooks_url":"https://api.github.com/repos/layerhq/quick-start-ios/hooks","issue_events_url":"https://api.github.com/repos/layerhq/quick-start-ios/issues/events{/number}","events_url":"https://api.github.com/repos/layerhq/quick-start-ios/events","assignees_url":"https://api.github.com/repos/layerhq/quick-start-ios/assignees{/user}","branches_url":"https://api.github.com/repos/layerhq/quick-start-ios/branches{/branch}","tags_url":"https://api.github.com/repos/layerhq/quick-start-ios/tags","blobs_url":"https://api.github.com/repos/layerhq/quick-start-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/layerhq/quick-start-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/layerhq/quick-start-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/layerhq/quick-start-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/layerhq/quick-start-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/layerhq/quick-start-ios/languages","stargazers_url":"https://api.github.com/repos/layerhq/quick-start-ios/stargazers","contributors_url":"https://api.github.com/repos/layerhq/quick-start-ios/contributors","subscribers_url":"https://api.github.com/repos/layerhq/quick-start-ios/subscribers","subscription_url":"https://api.github.com/repos/layerhq/quick-start-ios/subscription","commits_url":"https://api.github.com/repos/layerhq/quick-start-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/layerhq/quick-start-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/layerhq/quick-start-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/layerhq/quick-start-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/layerhq/quick-start-ios/contents/{+path}","compare_url":"https://api.github.com/repos/layerhq/quick-start-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/layerhq/quick-start-ios/merges","archive_url":"https://api.github.com/repos/layerhq/quick-start-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/layerhq/quick-start-ios/downloads","issues_url":"https://api.github.com/repos/layerhq/quick-start-ios/issues{/number}","pulls_url":"https://api.github.com/repos/layerhq/quick-start-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/layerhq/quick-start-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/layerhq/quick-start-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/layerhq/quick-start-ios/labels{/name}","releases_url":"https://api.github.com/repos/layerhq/quick-start-ios/releases{/id}","created_at":"2014-10-14T18:15:21Z","updated_at":"2015-12-14T11:12:09Z","pushed_at":"2015-12-14T21:27:35Z","git_url":"git://github.com/layerhq/quick-start-ios.git","ssh_url":"git@github.com:layerhq/quick-start-ios.git","clone_url":"https://github.com/layerhq/quick-start-ios.git","svn_url":"https://github.com/layerhq/quick-start-ios","homepage":"http://layer.com","size":59081,"stargazers_count":41,"watchers_count":41,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":4,"forks":17,"open_issues":4,"watchers":41,"default_branch":"master"}},"base":{"label":"layerhq:master","ref":"master","sha":"f48f891689250f8cf08dcf14ce1c5af07430bc10","user":{"login":"layerhq","id":5497685,"avatar_url":"https://avatars.githubusercontent.com/u/5497685?v=3","gravatar_id":"","url":"https://api.github.com/users/layerhq","html_url":"https://github.com/layerhq","followers_url":"https://api.github.com/users/layerhq/followers","following_url":"https://api.github.com/users/layerhq/following{/other_user}","gists_url":"https://api.github.com/users/layerhq/gists{/gist_id}","starred_url":"https://api.github.com/users/layerhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layerhq/subscriptions","organizations_url":"https://api.github.com/users/layerhq/orgs","repos_url":"https://api.github.com/users/layerhq/repos","events_url":"https://api.github.com/users/layerhq/events{/privacy}","received_events_url":"https://api.github.com/users/layerhq/received_events","type":"Organization","site_admin":false},"repo":{"id":25219970,"name":"quick-start-ios","full_name":"layerhq/quick-start-ios","owner":{"login":"layerhq","id":5497685,"avatar_url":"https://avatars.githubusercontent.com/u/5497685?v=3","gravatar_id":"","url":"https://api.github.com/users/layerhq","html_url":"https://github.com/layerhq","followers_url":"https://api.github.com/users/layerhq/followers","following_url":"https://api.github.com/users/layerhq/following{/other_user}","gists_url":"https://api.github.com/users/layerhq/gists{/gist_id}","starred_url":"https://api.github.com/users/layerhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layerhq/subscriptions","organizations_url":"https://api.github.com/users/layerhq/orgs","repos_url":"https://api.github.com/users/layerhq/repos","events_url":"https://api.github.com/users/layerhq/events{/privacy}","received_events_url":"https://api.github.com/users/layerhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/layerhq/quick-start-ios","description":"Quick Start is a sample application highlighting how to integrate LayerKit...","fork":false,"url":"https://api.github.com/repos/layerhq/quick-start-ios","forks_url":"https://api.github.com/repos/layerhq/quick-start-ios/forks","keys_url":"https://api.github.com/repos/layerhq/quick-start-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/layerhq/quick-start-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/layerhq/quick-start-ios/teams","hooks_url":"https://api.github.com/repos/layerhq/quick-start-ios/hooks","issue_events_url":"https://api.github.com/repos/layerhq/quick-start-ios/issues/events{/number}","events_url":"https://api.github.com/repos/layerhq/quick-start-ios/events","assignees_url":"https://api.github.com/repos/layerhq/quick-start-ios/assignees{/user}","branches_url":"https://api.github.com/repos/layerhq/quick-start-ios/branches{/branch}","tags_url":"https://api.github.com/repos/layerhq/quick-start-ios/tags","blobs_url":"https://api.github.com/repos/layerhq/quick-start-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/layerhq/quick-start-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/layerhq/quick-start-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/layerhq/quick-start-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/layerhq/quick-start-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/layerhq/quick-start-ios/languages","stargazers_url":"https://api.github.com/repos/layerhq/quick-start-ios/stargazers","contributors_url":"https://api.github.com/repos/layerhq/quick-start-ios/contributors","subscribers_url":"https://api.github.com/repos/layerhq/quick-start-ios/subscribers","subscription_url":"https://api.github.com/repos/layerhq/quick-start-ios/subscription","commits_url":"https://api.github.com/repos/layerhq/quick-start-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/layerhq/quick-start-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/layerhq/quick-start-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/layerhq/quick-start-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/layerhq/quick-start-ios/contents/{+path}","compare_url":"https://api.github.com/repos/layerhq/quick-start-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/layerhq/quick-start-ios/merges","archive_url":"https://api.github.com/repos/layerhq/quick-start-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/layerhq/quick-start-ios/downloads","issues_url":"https://api.github.com/repos/layerhq/quick-start-ios/issues{/number}","pulls_url":"https://api.github.com/repos/layerhq/quick-start-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/layerhq/quick-start-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/layerhq/quick-start-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/layerhq/quick-start-ios/labels{/name}","releases_url":"https://api.github.com/repos/layerhq/quick-start-ios/releases{/id}","created_at":"2014-10-14T18:15:21Z","updated_at":"2015-12-14T11:12:09Z","pushed_at":"2015-12-14T21:27:35Z","git_url":"git://github.com/layerhq/quick-start-ios.git","ssh_url":"git@github.com:layerhq/quick-start-ios.git","clone_url":"https://github.com/layerhq/quick-start-ios.git","svn_url":"https://github.com/layerhq/quick-start-ios","homepage":"http://layer.com","size":59081,"stargazers_count":41,"watchers_count":41,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":4,"forks":17,"open_issues":4,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/12"},"html":{"href":"https://github.com/layerhq/quick-start-ios/pull/12"},"issue":{"href":"https://api.github.com/repos/layerhq/quick-start-ios/issues/12"},"comments":{"href":"https://api.github.com/repos/layerhq/quick-start-ios/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/layerhq/quick-start-ios/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/layerhq/quick-start-ios/statuses/363a2c2a0140e24b2b518c8076f9aa3dcb47a134"}}}}