{"action":"created","comment":{"url":"https://api.github.com/repos/smooch/smooch-docs/pulls/comments/79645810","id":79645810,"diff_hunk":"@@ -1417,12 +1430,65 @@ smooch.appUsers.sendMessage('c7f6e6d6c3a637261bd9656f', {\n | **text**<br/><span class='req'>required</span>      | The button text. |\n | **type**<br/><span class='req'>required</span>      | `reply` |\n | **payload**<br/><span class='req'>required</span>    | A string payload to help you identify the action context. Used when posting the reply. You can also use metadata for more complex needs. |\n+| **imageUrl**<br/><span class='opt'>optional</span>  | An icon to render next to the reply option (Facebook Messenger only) |\n | **metadata**<br/><span class='opt'>optional</span>  | Flat JSON object containing any custom properties associated with the action. |\n \n <aside class=\"notice\">\n `reply` type actions are mutually exclusive with other action types. When specifying a `reply` action, all other actions on the same message must also be of type `reply`, otherwise the message will be considered invalid.\n </aside>\n \n+### Facebook Messenger Reply Actions\n+\n+> Send reply actions with icon URLs:\n+\n+```shell\n+curl https://api.smooch.io/v1/appusers/c7f6e6d6c3a637261bd9656f/messages \\\n+     -X POST \\\n+     -H 'content-type: application/json' \\\n+     -H 'authorization: Bearer your-jwt'\n+     -d '\n+{\n+    \"text\":\"Which do you prefer?\",\n+    \"role\": \"appMaker\",\n+    \"actions\": [{\n+        \"type\": \"reply\",\n+        \"text\": \"Tacos\",\n+        \"iconUrl\": \"http://example.org/taco.png\"\n+        \"payload\": \"TACOS\"\n+    }, {\n+        \"type\": \"reply\",\n+        \"text\": \"Burritos\",\n+        \"iconUrl\": \"http://example.org/burrito.png\"","path":"source/includes/rest/_core.md","position":73,"original_position":73,"commit_id":"48ca48260670bf44a5c4d03dedbdb3cf197eb2ac","original_commit_id":"48ca48260670bf44a5c4d03dedbdb3cf197eb2ac","user":{"login":"alavers","id":2432382,"avatar_url":"https://avatars.githubusercontent.com/u/2432382?v=3","gravatar_id":"","url":"https://api.github.com/users/alavers","html_url":"https://github.com/alavers","followers_url":"https://api.github.com/users/alavers/followers","following_url":"https://api.github.com/users/alavers/following{/other_user}","gists_url":"https://api.github.com/users/alavers/gists{/gist_id}","starred_url":"https://api.github.com/users/alavers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alavers/subscriptions","organizations_url":"https://api.github.com/users/alavers/orgs","repos_url":"https://api.github.com/users/alavers/repos","events_url":"https://api.github.com/users/alavers/events{/privacy}","received_events_url":"https://api.github.com/users/alavers/received_events","type":"User","site_admin":false},"body":"It's `iconUrl` :facepalm: ","created_at":"2016-09-20T15:54:50Z","updated_at":"2016-09-20T15:54:51Z","html_url":"https://github.com/smooch/smooch-docs/pull/125#discussion_r79645810","pull_request_url":"https://api.github.com/repos/smooch/smooch-docs/pulls/125","_links":{"self":{"href":"https://api.github.com/repos/smooch/smooch-docs/pulls/comments/79645810"},"html":{"href":"https://github.com/smooch/smooch-docs/pull/125#discussion_r79645810"},"pull_request":{"href":"https://api.github.com/repos/smooch/smooch-docs/pulls/125"}}},"pull_request":{"url":"https://api.github.com/repos/smooch/smooch-docs/pulls/125","id":85892004,"html_url":"https://github.com/smooch/smooch-docs/pull/125","diff_url":"https://github.com/smooch/smooch-docs/pull/125.diff","patch_url":"https://github.com/smooch/smooch-docs/pull/125.patch","issue_url":"https://api.github.com/repos/smooch/smooch-docs/issues/125","number":125,"state":"open","locked":false,"title":"Document reply action images and share buttons","user":{"login":"alavers","id":2432382,"avatar_url":"https://avatars.githubusercontent.com/u/2432382?v=3","gravatar_id":"","url":"https://api.github.com/users/alavers","html_url":"https://github.com/alavers","followers_url":"https://api.github.com/users/alavers/followers","following_url":"https://api.github.com/users/alavers/following{/other_user}","gists_url":"https://api.github.com/users/alavers/gists{/gist_id}","starred_url":"https://api.github.com/users/alavers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alavers/subscriptions","organizations_url":"https://api.github.com/users/alavers/orgs","repos_url":"https://api.github.com/users/alavers/repos","events_url":"https://api.github.com/users/alavers/events{/privacy}","received_events_url":"https://api.github.com/users/alavers/received_events","type":"User","site_admin":false},"body":"@mspensieri @jugarrit @lemieux ","created_at":"2016-09-20T00:19:33Z","updated_at":"2016-09-20T15:54:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e24d7796991ec9252ff4e656c704469bc7bb4489","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/smooch/smooch-docs/pulls/125/commits","review_comments_url":"https://api.github.com/repos/smooch/smooch-docs/pulls/125/comments","review_comment_url":"https://api.github.com/repos/smooch/smooch-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smooch/smooch-docs/issues/125/comments","statuses_url":"https://api.github.com/repos/smooch/smooch-docs/statuses/48ca48260670bf44a5c4d03dedbdb3cf197eb2ac","head":{"label":"smooch:f/fb-platform-updates","ref":"f/fb-platform-updates","sha":"48ca48260670bf44a5c4d03dedbdb3cf197eb2ac","user":{"login":"smooch","id":14301989,"avatar_url":"https://avatars.githubusercontent.com/u/14301989?v=3","gravatar_id":"","url":"https://api.github.com/users/smooch","html_url":"https://github.com/smooch","followers_url":"https://api.github.com/users/smooch/followers","following_url":"https://api.github.com/users/smooch/following{/other_user}","gists_url":"https://api.github.com/users/smooch/gists{/gist_id}","starred_url":"https://api.github.com/users/smooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smooch/subscriptions","organizations_url":"https://api.github.com/users/smooch/orgs","repos_url":"https://api.github.com/users/smooch/repos","events_url":"https://api.github.com/users/smooch/events{/privacy}","received_events_url":"https://api.github.com/users/smooch/received_events","type":"Organization","site_admin":false},"repo":{"id":39525331,"name":"smooch-docs","full_name":"smooch/smooch-docs","owner":{"login":"smooch","id":14301989,"avatar_url":"https://avatars.githubusercontent.com/u/14301989?v=3","gravatar_id":"","url":"https://api.github.com/users/smooch","html_url":"https://github.com/smooch","followers_url":"https://api.github.com/users/smooch/followers","following_url":"https://api.github.com/users/smooch/following{/other_user}","gists_url":"https://api.github.com/users/smooch/gists{/gist_id}","starred_url":"https://api.github.com/users/smooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smooch/subscriptions","organizations_url":"https://api.github.com/users/smooch/orgs","repos_url":"https://api.github.com/users/smooch/repos","events_url":"https://api.github.com/users/smooch/events{/privacy}","received_events_url":"https://api.github.com/users/smooch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smooch/smooch-docs","description":"Docs living at docs.smooch.io","fork":false,"url":"https://api.github.com/repos/smooch/smooch-docs","forks_url":"https://api.github.com/repos/smooch/smooch-docs/forks","keys_url":"https://api.github.com/repos/smooch/smooch-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smooch/smooch-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smooch/smooch-docs/teams","hooks_url":"https://api.github.com/repos/smooch/smooch-docs/hooks","issue_events_url":"https://api.github.com/repos/smooch/smooch-docs/issues/events{/number}","events_url":"https://api.github.com/repos/smooch/smooch-docs/events","assignees_url":"https://api.github.com/repos/smooch/smooch-docs/assignees{/user}","branches_url":"https://api.github.com/repos/smooch/smooch-docs/branches{/branch}","tags_url":"https://api.github.com/repos/smooch/smooch-docs/tags","blobs_url":"https://api.github.com/repos/smooch/smooch-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smooch/smooch-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smooch/smooch-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/smooch/smooch-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smooch/smooch-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/smooch/smooch-docs/languages","stargazers_url":"https://api.github.com/repos/smooch/smooch-docs/stargazers","contributors_url":"https://api.github.com/repos/smooch/smooch-docs/contributors","subscribers_url":"https://api.github.com/repos/smooch/smooch-docs/subscribers","subscription_url":"https://api.github.com/repos/smooch/smooch-docs/subscription","commits_url":"https://api.github.com/repos/smooch/smooch-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/smooch/smooch-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/smooch/smooch-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/smooch/smooch-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/smooch/smooch-docs/contents/{+path}","compare_url":"https://api.github.com/repos/smooch/smooch-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smooch/smooch-docs/merges","archive_url":"https://api.github.com/repos/smooch/smooch-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smooch/smooch-docs/downloads","issues_url":"https://api.github.com/repos/smooch/smooch-docs/issues{/number}","pulls_url":"https://api.github.com/repos/smooch/smooch-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/smooch/smooch-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/smooch/smooch-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smooch/smooch-docs/labels{/name}","releases_url":"https://api.github.com/repos/smooch/smooch-docs/releases{/id}","deployments_url":"https://api.github.com/repos/smooch/smooch-docs/deployments","created_at":"2015-07-22T19:13:33Z","updated_at":"2016-08-30T18:52:48Z","pushed_at":"2016-09-20T00:19:33Z","git_url":"git://github.com/smooch/smooch-docs.git","ssh_url":"git@github.com:smooch/smooch-docs.git","clone_url":"https://github.com/smooch/smooch-docs.git","svn_url":"https://github.com/smooch/smooch-docs","homepage":"http://docs.supportkit.io","size":164649,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":2,"default_branch":"integration"}},"base":{"label":"smooch:integration","ref":"integration","sha":"132cdd6f31460b17a6fbd7b3b287a285bec72501","user":{"login":"smooch","id":14301989,"avatar_url":"https://avatars.githubusercontent.com/u/14301989?v=3","gravatar_id":"","url":"https://api.github.com/users/smooch","html_url":"https://github.com/smooch","followers_url":"https://api.github.com/users/smooch/followers","following_url":"https://api.github.com/users/smooch/following{/other_user}","gists_url":"https://api.github.com/users/smooch/gists{/gist_id}","starred_url":"https://api.github.com/users/smooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smooch/subscriptions","organizations_url":"https://api.github.com/users/smooch/orgs","repos_url":"https://api.github.com/users/smooch/repos","events_url":"https://api.github.com/users/smooch/events{/privacy}","received_events_url":"https://api.github.com/users/smooch/received_events","type":"Organization","site_admin":false},"repo":{"id":39525331,"name":"smooch-docs","full_name":"smooch/smooch-docs","owner":{"login":"smooch","id":14301989,"avatar_url":"https://avatars.githubusercontent.com/u/14301989?v=3","gravatar_id":"","url":"https://api.github.com/users/smooch","html_url":"https://github.com/smooch","followers_url":"https://api.github.com/users/smooch/followers","following_url":"https://api.github.com/users/smooch/following{/other_user}","gists_url":"https://api.github.com/users/smooch/gists{/gist_id}","starred_url":"https://api.github.com/users/smooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smooch/subscriptions","organizations_url":"https://api.github.com/users/smooch/orgs","repos_url":"https://api.github.com/users/smooch/repos","events_url":"https://api.github.com/users/smooch/events{/privacy}","received_events_url":"https://api.github.com/users/smooch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smooch/smooch-docs","description":"Docs living at docs.smooch.io","fork":false,"url":"https://api.github.com/repos/smooch/smooch-docs","forks_url":"https://api.github.com/repos/smooch/smooch-docs/forks","keys_url":"https://api.github.com/repos/smooch/smooch-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smooch/smooch-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smooch/smooch-docs/teams","hooks_url":"https://api.github.com/repos/smooch/smooch-docs/hooks","issue_events_url":"https://api.github.com/repos/smooch/smooch-docs/issues/events{/number}","events_url":"https://api.github.com/repos/smooch/smooch-docs/events","assignees_url":"https://api.github.com/repos/smooch/smooch-docs/assignees{/user}","branches_url":"https://api.github.com/repos/smooch/smooch-docs/branches{/branch}","tags_url":"https://api.github.com/repos/smooch/smooch-docs/tags","blobs_url":"https://api.github.com/repos/smooch/smooch-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smooch/smooch-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smooch/smooch-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/smooch/smooch-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smooch/smooch-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/smooch/smooch-docs/languages","stargazers_url":"https://api.github.com/repos/smooch/smooch-docs/stargazers","contributors_url":"https://api.github.com/repos/smooch/smooch-docs/contributors","subscribers_url":"https://api.github.com/repos/smooch/smooch-docs/subscribers","subscription_url":"https://api.github.com/repos/smooch/smooch-docs/subscription","commits_url":"https://api.github.com/repos/smooch/smooch-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/smooch/smooch-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/smooch/smooch-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/smooch/smooch-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/smooch/smooch-docs/contents/{+path}","compare_url":"https://api.github.com/repos/smooch/smooch-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smooch/smooch-docs/merges","archive_url":"https://api.github.com/repos/smooch/smooch-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smooch/smooch-docs/downloads","issues_url":"https://api.github.com/repos/smooch/smooch-docs/issues{/number}","pulls_url":"https://api.github.com/repos/smooch/smooch-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/smooch/smooch-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/smooch/smooch-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smooch/smooch-docs/labels{/name}","releases_url":"https://api.github.com/repos/smooch/smooch-docs/releases{/id}","deployments_url":"https://api.github.com/repos/smooch/smooch-docs/deployments","created_at":"2015-07-22T19:13:33Z","updated_at":"2016-08-30T18:52:48Z","pushed_at":"2016-09-20T00:19:33Z","git_url":"git://github.com/smooch/smooch-docs.git","ssh_url":"git@github.com:smooch/smooch-docs.git","clone_url":"https://github.com/smooch/smooch-docs.git","svn_url":"https://github.com/smooch/smooch-docs","homepage":"http://docs.supportkit.io","size":164649,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":2,"default_branch":"integration"}},"_links":{"self":{"href":"https://api.github.com/repos/smooch/smooch-docs/pulls/125"},"html":{"href":"https://github.com/smooch/smooch-docs/pull/125"},"issue":{"href":"https://api.github.com/repos/smooch/smooch-docs/issues/125"},"comments":{"href":"https://api.github.com/repos/smooch/smooch-docs/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/smooch/smooch-docs/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/smooch/smooch-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smooch/smooch-docs/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/smooch/smooch-docs/statuses/48ca48260670bf44a5c4d03dedbdb3cf197eb2ac"}}}}
{"actor":{"display_login":"alavers"}}