{"action":"created","comment":{"url":"https://api.github.com/repos/RocketChat/docs/pulls/comments/188141204","pull_request_review_id":120053807,"id":188141204,"diff_hunk":"@@ -0,0 +1,30 @@\n+# Keyboard","path":"developer-guides/realtime-api/the-message-object/keyboard/README.md","position":1,"original_position":1,"commit_id":"bb51fefc80336e4b312a52a4d84f89c38659bbfd","original_commit_id":"bb51fefc80336e4b312a52a4d84f89c38659bbfd","user":{"login":"timkinnane","id":1774379,"avatar_url":"https://avatars1.githubusercontent.com/u/1774379?v=4","gravatar_id":"","url":"https://api.github.com/users/timkinnane","html_url":"https://github.com/timkinnane","followers_url":"https://api.github.com/users/timkinnane/followers","following_url":"https://api.github.com/users/timkinnane/following{/other_user}","gists_url":"https://api.github.com/users/timkinnane/gists{/gist_id}","starred_url":"https://api.github.com/users/timkinnane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timkinnane/subscriptions","organizations_url":"https://api.github.com/users/timkinnane/orgs","repos_url":"https://api.github.com/users/timkinnane/repos","events_url":"https://api.github.com/users/timkinnane/events{/privacy}","received_events_url":"https://api.github.com/users/timkinnane/received_events","type":"User","site_admin":false},"body":"Would this be ignored on the desktop, or implemented differently?","created_at":"2018-05-15T01:09:25Z","updated_at":"2018-05-15T01:15:36Z","html_url":"https://github.com/RocketChat/docs/pull/740#discussion_r188141204","pull_request_url":"https://api.github.com/repos/RocketChat/docs/pulls/740","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/RocketChat/docs/pulls/comments/188141204"},"html":{"href":"https://github.com/RocketChat/docs/pull/740#discussion_r188141204"},"pull_request":{"href":"https://api.github.com/repos/RocketChat/docs/pulls/740"}}},"pull_request":{"url":"https://api.github.com/repos/RocketChat/docs/pulls/740","id":186912091,"html_url":"https://github.com/RocketChat/docs/pull/740","diff_url":"https://github.com/RocketChat/docs/pull/740.diff","patch_url":"https://github.com/RocketChat/docs/pull/740.patch","issue_url":"https://api.github.com/repos/RocketChat/docs/issues/740","number":740,"state":"open","locked":false,"title":"Rich message content in the message_object","user":{"login":"ear-dev","id":28864717,"avatar_url":"https://avatars1.githubusercontent.com/u/28864717?v=4","gravatar_id":"","url":"https://api.github.com/users/ear-dev","html_url":"https://github.com/ear-dev","followers_url":"https://api.github.com/users/ear-dev/followers","following_url":"https://api.github.com/users/ear-dev/following{/other_user}","gists_url":"https://api.github.com/users/ear-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/ear-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ear-dev/subscriptions","organizations_url":"https://api.github.com/users/ear-dev/orgs","repos_url":"https://api.github.com/users/ear-dev/repos","events_url":"https://api.github.com/users/ear-dev/events{/privacy}","received_events_url":"https://api.github.com/users/ear-dev/received_events","type":"User","site_admin":false},"body":"This PR proposes a change to the message object. It includes two new fields that define\r\nmessage content, 'type' and 'payload'.  It is designed to accommodate both regular text messages as well as rich message content from bots including images, links, buttons, templates, etc....  \r\n\r\nIt is backwards compatible since it leaves the current 'attachments' object as is.  Our suggestion would be to deprecate the 'attachments' object in favor of the type/payload model. \r\n\r\nThe current PR include just a subset of what content might be available in the spec, and will hopefully facilitate discussion and eventual implementation of rich messaging on the RC client.\r\n","created_at":"2018-05-09T12:51:14Z","updated_at":"2018-05-15T01:15:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ff4318a2db0917992e9fd549f859da11429f094","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/RocketChat/docs/pulls/740/commits","review_comments_url":"https://api.github.com/repos/RocketChat/docs/pulls/740/comments","review_comment_url":"https://api.github.com/repos/RocketChat/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RocketChat/docs/issues/740/comments","statuses_url":"https://api.github.com/repos/RocketChat/docs/statuses/bb51fefc80336e4b312a52a4d84f89c38659bbfd","head":{"label":"WideChat:ear_richMessages","ref":"ear_richMessages","sha":"bb51fefc80336e4b312a52a4d84f89c38659bbfd","user":{"login":"WideChat","id":36538368,"avatar_url":"https://avatars2.githubusercontent.com/u/36538368?v=4","gravatar_id":"","url":"https://api.github.com/users/WideChat","html_url":"https://github.com/WideChat","followers_url":"https://api.github.com/users/WideChat/followers","following_url":"https://api.github.com/users/WideChat/following{/other_user}","gists_url":"https://api.github.com/users/WideChat/gists{/gist_id}","starred_url":"https://api.github.com/users/WideChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WideChat/subscriptions","organizations_url":"https://api.github.com/users/WideChat/orgs","repos_url":"https://api.github.com/users/WideChat/repos","events_url":"https://api.github.com/users/WideChat/events{/privacy}","received_events_url":"https://api.github.com/users/WideChat/received_events","type":"Organization","site_admin":false},"repo":{"id":130234466,"name":"docs","full_name":"WideChat/docs","owner":{"login":"WideChat","id":36538368,"avatar_url":"https://avatars2.githubusercontent.com/u/36538368?v=4","gravatar_id":"","url":"https://api.github.com/users/WideChat","html_url":"https://github.com/WideChat","followers_url":"https://api.github.com/users/WideChat/followers","following_url":"https://api.github.com/users/WideChat/following{/other_user}","gists_url":"https://api.github.com/users/WideChat/gists{/gist_id}","starred_url":"https://api.github.com/users/WideChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WideChat/subscriptions","organizations_url":"https://api.github.com/users/WideChat/orgs","repos_url":"https://api.github.com/users/WideChat/repos","events_url":"https://api.github.com/users/WideChat/events{/privacy}","received_events_url":"https://api.github.com/users/WideChat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WideChat/docs","description":"Rocket.Chat server, desktop, mobile, user, admin & developer documentation","fork":true,"url":"https://api.github.com/repos/WideChat/docs","forks_url":"https://api.github.com/repos/WideChat/docs/forks","keys_url":"https://api.github.com/repos/WideChat/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WideChat/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WideChat/docs/teams","hooks_url":"https://api.github.com/repos/WideChat/docs/hooks","issue_events_url":"https://api.github.com/repos/WideChat/docs/issues/events{/number}","events_url":"https://api.github.com/repos/WideChat/docs/events","assignees_url":"https://api.github.com/repos/WideChat/docs/assignees{/user}","branches_url":"https://api.github.com/repos/WideChat/docs/branches{/branch}","tags_url":"https://api.github.com/repos/WideChat/docs/tags","blobs_url":"https://api.github.com/repos/WideChat/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WideChat/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WideChat/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/WideChat/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WideChat/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/WideChat/docs/languages","stargazers_url":"https://api.github.com/repos/WideChat/docs/stargazers","contributors_url":"https://api.github.com/repos/WideChat/docs/contributors","subscribers_url":"https://api.github.com/repos/WideChat/docs/subscribers","subscription_url":"https://api.github.com/repos/WideChat/docs/subscription","commits_url":"https://api.github.com/repos/WideChat/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/WideChat/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/WideChat/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/WideChat/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/WideChat/docs/contents/{+path}","compare_url":"https://api.github.com/repos/WideChat/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WideChat/docs/merges","archive_url":"https://api.github.com/repos/WideChat/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WideChat/docs/downloads","issues_url":"https://api.github.com/repos/WideChat/docs/issues{/number}","pulls_url":"https://api.github.com/repos/WideChat/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/WideChat/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/WideChat/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WideChat/docs/labels{/name}","releases_url":"https://api.github.com/repos/WideChat/docs/releases{/id}","deployments_url":"https://api.github.com/repos/WideChat/docs/deployments","created_at":"2018-04-19T15:14:20Z","updated_at":"2018-05-07T13:53:42Z","pushed_at":"2018-05-14T17:51:16Z","git_url":"git://github.com/WideChat/docs.git","ssh_url":"git@github.com:WideChat/docs.git","clone_url":"https://github.com/WideChat/docs.git","svn_url":"https://github.com/WideChat/docs","homepage":"https://rocket.chat/docs/","size":7532,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RocketChat:master","ref":"master","sha":"6eaf051164251fdb758d8774cba6219337456b27","user":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"repo":{"id":58204433,"name":"docs","full_name":"RocketChat/docs","owner":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RocketChat/docs","description":"The Rocket.Chat server, desktop, mobile, user, admin & developer documentation.","fork":false,"url":"https://api.github.com/repos/RocketChat/docs","forks_url":"https://api.github.com/repos/RocketChat/docs/forks","keys_url":"https://api.github.com/repos/RocketChat/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RocketChat/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RocketChat/docs/teams","hooks_url":"https://api.github.com/repos/RocketChat/docs/hooks","issue_events_url":"https://api.github.com/repos/RocketChat/docs/issues/events{/number}","events_url":"https://api.github.com/repos/RocketChat/docs/events","assignees_url":"https://api.github.com/repos/RocketChat/docs/assignees{/user}","branches_url":"https://api.github.com/repos/RocketChat/docs/branches{/branch}","tags_url":"https://api.github.com/repos/RocketChat/docs/tags","blobs_url":"https://api.github.com/repos/RocketChat/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RocketChat/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RocketChat/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/RocketChat/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RocketChat/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/RocketChat/docs/languages","stargazers_url":"https://api.github.com/repos/RocketChat/docs/stargazers","contributors_url":"https://api.github.com/repos/RocketChat/docs/contributors","subscribers_url":"https://api.github.com/repos/RocketChat/docs/subscribers","subscription_url":"https://api.github.com/repos/RocketChat/docs/subscription","commits_url":"https://api.github.com/repos/RocketChat/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/RocketChat/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/RocketChat/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/RocketChat/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/RocketChat/docs/contents/{+path}","compare_url":"https://api.github.com/repos/RocketChat/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RocketChat/docs/merges","archive_url":"https://api.github.com/repos/RocketChat/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RocketChat/docs/downloads","issues_url":"https://api.github.com/repos/RocketChat/docs/issues{/number}","pulls_url":"https://api.github.com/repos/RocketChat/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/RocketChat/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/RocketChat/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RocketChat/docs/labels{/name}","releases_url":"https://api.github.com/repos/RocketChat/docs/releases{/id}","deployments_url":"https://api.github.com/repos/RocketChat/docs/deployments","created_at":"2016-05-06T12:02:57Z","updated_at":"2018-05-14T19:57:20Z","pushed_at":"2018-05-14T20:02:27Z","git_url":"git://github.com/RocketChat/docs.git","ssh_url":"git@github.com:RocketChat/docs.git","clone_url":"https://github.com/RocketChat/docs.git","svn_url":"https://github.com/RocketChat/docs","homepage":"https://rocket.chat/docs/","size":7574,"stargazers_count":112,"watchers_count":112,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":324,"mirror_url":null,"archived":false,"open_issues_count":60,"license":null,"forks":324,"open_issues":60,"watchers":112,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RocketChat/docs/pulls/740"},"html":{"href":"https://github.com/RocketChat/docs/pull/740"},"issue":{"href":"https://api.github.com/repos/RocketChat/docs/issues/740"},"comments":{"href":"https://api.github.com/repos/RocketChat/docs/issues/740/comments"},"review_comments":{"href":"https://api.github.com/repos/RocketChat/docs/pulls/740/comments"},"review_comment":{"href":"https://api.github.com/repos/RocketChat/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RocketChat/docs/pulls/740/commits"},"statuses":{"href":"https://api.github.com/repos/RocketChat/docs/statuses/bb51fefc80336e4b312a52a4d84f89c38659bbfd"}},"author_association":"NONE"}}
{"actor":{"display_login":"timkinnane"}}