{"action":"created","comment":{"url":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/comments/195784842","pull_request_review_id":129223599,"id":195784842,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTc4NDg0Mg==","diff_hunk":"@@ -116,6 +116,12 @@ export type TemplateAction =\n   | URIAction\n   | DatetimePickerAction;\n \n+export type TemplateMessage<Template> = {","path":"packages/messaging-api-line/src/LineTypes.js","position":4,"original_position":4,"commit_id":"6af21485d5b7e49cc45bc0f683d54ec9fe6e5d98","original_commit_id":"6af21485d5b7e49cc45bc0f683d54ec9fe6e5d98","user":{"login":"tw0517tw","id":1003146,"node_id":"MDQ6VXNlcjEwMDMxNDY=","avatar_url":"https://avatars2.githubusercontent.com/u/1003146?v=4","gravatar_id":"","url":"https://api.github.com/users/tw0517tw","html_url":"https://github.com/tw0517tw","followers_url":"https://api.github.com/users/tw0517tw/followers","following_url":"https://api.github.com/users/tw0517tw/following{/other_user}","gists_url":"https://api.github.com/users/tw0517tw/gists{/gist_id}","starred_url":"https://api.github.com/users/tw0517tw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tw0517tw/subscriptions","organizations_url":"https://api.github.com/users/tw0517tw/orgs","repos_url":"https://api.github.com/users/tw0517tw/repos","events_url":"https://api.github.com/users/tw0517tw/events{/privacy}","received_events_url":"https://api.github.com/users/tw0517tw/received_events","type":"User","site_admin":false},"body":":+1:","created_at":"2018-06-15T15:55:06Z","updated_at":"2018-06-15T15:55:06Z","html_url":"https://github.com/Yoctol/messaging-apis/pull/364#discussion_r195784842","pull_request_url":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/364","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/comments/195784842"},"html":{"href":"https://github.com/Yoctol/messaging-apis/pull/364#discussion_r195784842"},"pull_request":{"href":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/364"}}},"pull_request":{"url":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/364","id":195153347,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MTUzMzQ3","html_url":"https://github.com/Yoctol/messaging-apis/pull/364","diff_url":"https://github.com/Yoctol/messaging-apis/pull/364.diff","patch_url":"https://github.com/Yoctol/messaging-apis/pull/364.patch","issue_url":"https://api.github.com/repos/Yoctol/messaging-apis/issues/364","number":364,"state":"open","locked":false,"title":"add Line.createFlex and improve typings","user":{"login":"chentsulin","id":3382565,"node_id":"MDQ6VXNlcjMzODI1NjU=","avatar_url":"https://avatars2.githubusercontent.com/u/3382565?v=4","gravatar_id":"","url":"https://api.github.com/users/chentsulin","html_url":"https://github.com/chentsulin","followers_url":"https://api.github.com/users/chentsulin/followers","following_url":"https://api.github.com/users/chentsulin/following{/other_user}","gists_url":"https://api.github.com/users/chentsulin/gists{/gist_id}","starred_url":"https://api.github.com/users/chentsulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chentsulin/subscriptions","organizations_url":"https://api.github.com/users/chentsulin/orgs","repos_url":"https://api.github.com/users/chentsulin/repos","events_url":"https://api.github.com/users/chentsulin/events{/privacy}","received_events_url":"https://api.github.com/users/chentsulin/received_events","type":"User","site_admin":false},"body":"```js\r\nLine.createFlex('this is a flex message', {\r\n  \"type\": \"bubble\",\r\n  \"header\": {\r\n    \"type\": \"box\",\r\n    \"layout\": \"vertical\",\r\n    \"contents\": [\r\n      {\r\n        \"type\": \"text\",\r\n        \"text\": \"Header text\"\r\n      }\r\n    ]\r\n  },\r\n  \"hero\": {\r\n    \"type\": \"image\",\r\n    \"url\": \"https://example.com/flex/images/image.jpg\",\r\n  },\r\n  \"body\": {\r\n    \"type\": \"box\",\r\n    \"layout\": \"vertical\",\r\n    \"contents\": [\r\n      {\r\n        \"type\": \"text\",\r\n        \"text\": \"Body text\",\r\n      }\r\n    ]\r\n  },\r\n  \"footer\": {\r\n    \"type\": \"box\",\r\n    \"layout\": \"vertical\",\r\n    \"contents\": [\r\n      {\r\n        \"type\": \"text\",\r\n        \"text\": \"Footer text\",\r\n      }\r\n    ]\r\n  },\r\n  \"styles\": {\r\n    \"comment\": \"See the example of a bubble style object\"\r\n  }\r\n})\r\n```","created_at":"2018-06-15T11:56:43Z","updated_at":"2018-06-15T15:55:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ddfe3ec4ec912b38a9e1a39f36b52fbdeabfbb5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":641140885,"node_id":"MDU6TGFiZWw2NDExNDA4ODU=","url":"https://api.github.com/repos/Yoctol/messaging-apis/labels/LINE","name":"LINE","color":"00b900","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/364/commits","review_comments_url":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/364/comments","review_comment_url":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yoctol/messaging-apis/issues/364/comments","statuses_url":"https://api.github.com/repos/Yoctol/messaging-apis/statuses/6af21485d5b7e49cc45bc0f683d54ec9fe6e5d98","head":{"label":"Yoctol:createFlex","ref":"createFlex","sha":"6af21485d5b7e49cc45bc0f683d54ec9fe6e5d98","user":{"login":"Yoctol","id":10671553,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjcxNTUz","avatar_url":"https://avatars3.githubusercontent.com/u/10671553?v=4","gravatar_id":"","url":"https://api.github.com/users/Yoctol","html_url":"https://github.com/Yoctol","followers_url":"https://api.github.com/users/Yoctol/followers","following_url":"https://api.github.com/users/Yoctol/following{/other_user}","gists_url":"https://api.github.com/users/Yoctol/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoctol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoctol/subscriptions","organizations_url":"https://api.github.com/users/Yoctol/orgs","repos_url":"https://api.github.com/users/Yoctol/repos","events_url":"https://api.github.com/users/Yoctol/events{/privacy}","received_events_url":"https://api.github.com/users/Yoctol/received_events","type":"Organization","site_admin":false},"repo":{"id":90862638,"node_id":"MDEwOlJlcG9zaXRvcnk5MDg2MjYzOA==","name":"messaging-apis","full_name":"Yoctol/messaging-apis","owner":{"login":"Yoctol","id":10671553,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjcxNTUz","avatar_url":"https://avatars3.githubusercontent.com/u/10671553?v=4","gravatar_id":"","url":"https://api.github.com/users/Yoctol","html_url":"https://github.com/Yoctol","followers_url":"https://api.github.com/users/Yoctol/followers","following_url":"https://api.github.com/users/Yoctol/following{/other_user}","gists_url":"https://api.github.com/users/Yoctol/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoctol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoctol/subscriptions","organizations_url":"https://api.github.com/users/Yoctol/orgs","repos_url":"https://api.github.com/users/Yoctol/repos","events_url":"https://api.github.com/users/Yoctol/events{/privacy}","received_events_url":"https://api.github.com/users/Yoctol/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yoctol/messaging-apis","description":"Messaging APIs for multi-platform","fork":false,"url":"https://api.github.com/repos/Yoctol/messaging-apis","forks_url":"https://api.github.com/repos/Yoctol/messaging-apis/forks","keys_url":"https://api.github.com/repos/Yoctol/messaging-apis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yoctol/messaging-apis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yoctol/messaging-apis/teams","hooks_url":"https://api.github.com/repos/Yoctol/messaging-apis/hooks","issue_events_url":"https://api.github.com/repos/Yoctol/messaging-apis/issues/events{/number}","events_url":"https://api.github.com/repos/Yoctol/messaging-apis/events","assignees_url":"https://api.github.com/repos/Yoctol/messaging-apis/assignees{/user}","branches_url":"https://api.github.com/repos/Yoctol/messaging-apis/branches{/branch}","tags_url":"https://api.github.com/repos/Yoctol/messaging-apis/tags","blobs_url":"https://api.github.com/repos/Yoctol/messaging-apis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yoctol/messaging-apis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yoctol/messaging-apis/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yoctol/messaging-apis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yoctol/messaging-apis/statuses/{sha}","languages_url":"https://api.github.com/repos/Yoctol/messaging-apis/languages","stargazers_url":"https://api.github.com/repos/Yoctol/messaging-apis/stargazers","contributors_url":"https://api.github.com/repos/Yoctol/messaging-apis/contributors","subscribers_url":"https://api.github.com/repos/Yoctol/messaging-apis/subscribers","subscription_url":"https://api.github.com/repos/Yoctol/messaging-apis/subscription","commits_url":"https://api.github.com/repos/Yoctol/messaging-apis/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yoctol/messaging-apis/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yoctol/messaging-apis/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yoctol/messaging-apis/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yoctol/messaging-apis/contents/{+path}","compare_url":"https://api.github.com/repos/Yoctol/messaging-apis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yoctol/messaging-apis/merges","archive_url":"https://api.github.com/repos/Yoctol/messaging-apis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yoctol/messaging-apis/downloads","issues_url":"https://api.github.com/repos/Yoctol/messaging-apis/issues{/number}","pulls_url":"https://api.github.com/repos/Yoctol/messaging-apis/pulls{/number}","milestones_url":"https://api.github.com/repos/Yoctol/messaging-apis/milestones{/number}","notifications_url":"https://api.github.com/repos/Yoctol/messaging-apis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yoctol/messaging-apis/labels{/name}","releases_url":"https://api.github.com/repos/Yoctol/messaging-apis/releases{/id}","deployments_url":"https://api.github.com/repos/Yoctol/messaging-apis/deployments","created_at":"2017-05-10T12:38:40Z","updated_at":"2018-06-15T15:52:38Z","pushed_at":"2018-06-15T15:52:41Z","git_url":"git://github.com/Yoctol/messaging-apis.git","ssh_url":"git@github.com:Yoctol/messaging-apis.git","clone_url":"https://github.com/Yoctol/messaging-apis.git","svn_url":"https://github.com/Yoctol/messaging-apis","homepage":"","size":1528,"stargazers_count":1108,"watchers_count":1108,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":89,"open_issues":8,"watchers":1108,"default_branch":"master"}},"base":{"label":"Yoctol:master","ref":"master","sha":"04f779c6518cd6ddba7c1727cf524fa3e440bb50","user":{"login":"Yoctol","id":10671553,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjcxNTUz","avatar_url":"https://avatars3.githubusercontent.com/u/10671553?v=4","gravatar_id":"","url":"https://api.github.com/users/Yoctol","html_url":"https://github.com/Yoctol","followers_url":"https://api.github.com/users/Yoctol/followers","following_url":"https://api.github.com/users/Yoctol/following{/other_user}","gists_url":"https://api.github.com/users/Yoctol/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoctol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoctol/subscriptions","organizations_url":"https://api.github.com/users/Yoctol/orgs","repos_url":"https://api.github.com/users/Yoctol/repos","events_url":"https://api.github.com/users/Yoctol/events{/privacy}","received_events_url":"https://api.github.com/users/Yoctol/received_events","type":"Organization","site_admin":false},"repo":{"id":90862638,"node_id":"MDEwOlJlcG9zaXRvcnk5MDg2MjYzOA==","name":"messaging-apis","full_name":"Yoctol/messaging-apis","owner":{"login":"Yoctol","id":10671553,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjcxNTUz","avatar_url":"https://avatars3.githubusercontent.com/u/10671553?v=4","gravatar_id":"","url":"https://api.github.com/users/Yoctol","html_url":"https://github.com/Yoctol","followers_url":"https://api.github.com/users/Yoctol/followers","following_url":"https://api.github.com/users/Yoctol/following{/other_user}","gists_url":"https://api.github.com/users/Yoctol/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoctol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoctol/subscriptions","organizations_url":"https://api.github.com/users/Yoctol/orgs","repos_url":"https://api.github.com/users/Yoctol/repos","events_url":"https://api.github.com/users/Yoctol/events{/privacy}","received_events_url":"https://api.github.com/users/Yoctol/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yoctol/messaging-apis","description":"Messaging APIs for multi-platform","fork":false,"url":"https://api.github.com/repos/Yoctol/messaging-apis","forks_url":"https://api.github.com/repos/Yoctol/messaging-apis/forks","keys_url":"https://api.github.com/repos/Yoctol/messaging-apis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yoctol/messaging-apis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yoctol/messaging-apis/teams","hooks_url":"https://api.github.com/repos/Yoctol/messaging-apis/hooks","issue_events_url":"https://api.github.com/repos/Yoctol/messaging-apis/issues/events{/number}","events_url":"https://api.github.com/repos/Yoctol/messaging-apis/events","assignees_url":"https://api.github.com/repos/Yoctol/messaging-apis/assignees{/user}","branches_url":"https://api.github.com/repos/Yoctol/messaging-apis/branches{/branch}","tags_url":"https://api.github.com/repos/Yoctol/messaging-apis/tags","blobs_url":"https://api.github.com/repos/Yoctol/messaging-apis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yoctol/messaging-apis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yoctol/messaging-apis/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yoctol/messaging-apis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yoctol/messaging-apis/statuses/{sha}","languages_url":"https://api.github.com/repos/Yoctol/messaging-apis/languages","stargazers_url":"https://api.github.com/repos/Yoctol/messaging-apis/stargazers","contributors_url":"https://api.github.com/repos/Yoctol/messaging-apis/contributors","subscribers_url":"https://api.github.com/repos/Yoctol/messaging-apis/subscribers","subscription_url":"https://api.github.com/repos/Yoctol/messaging-apis/subscription","commits_url":"https://api.github.com/repos/Yoctol/messaging-apis/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yoctol/messaging-apis/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yoctol/messaging-apis/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yoctol/messaging-apis/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yoctol/messaging-apis/contents/{+path}","compare_url":"https://api.github.com/repos/Yoctol/messaging-apis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yoctol/messaging-apis/merges","archive_url":"https://api.github.com/repos/Yoctol/messaging-apis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yoctol/messaging-apis/downloads","issues_url":"https://api.github.com/repos/Yoctol/messaging-apis/issues{/number}","pulls_url":"https://api.github.com/repos/Yoctol/messaging-apis/pulls{/number}","milestones_url":"https://api.github.com/repos/Yoctol/messaging-apis/milestones{/number}","notifications_url":"https://api.github.com/repos/Yoctol/messaging-apis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yoctol/messaging-apis/labels{/name}","releases_url":"https://api.github.com/repos/Yoctol/messaging-apis/releases{/id}","deployments_url":"https://api.github.com/repos/Yoctol/messaging-apis/deployments","created_at":"2017-05-10T12:38:40Z","updated_at":"2018-06-15T15:52:38Z","pushed_at":"2018-06-15T15:52:41Z","git_url":"git://github.com/Yoctol/messaging-apis.git","ssh_url":"git@github.com:Yoctol/messaging-apis.git","clone_url":"https://github.com/Yoctol/messaging-apis.git","svn_url":"https://github.com/Yoctol/messaging-apis","homepage":"","size":1528,"stargazers_count":1108,"watchers_count":1108,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":89,"open_issues":8,"watchers":1108,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/364"},"html":{"href":"https://github.com/Yoctol/messaging-apis/pull/364"},"issue":{"href":"https://api.github.com/repos/Yoctol/messaging-apis/issues/364"},"comments":{"href":"https://api.github.com/repos/Yoctol/messaging-apis/issues/364/comments"},"review_comments":{"href":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/364/comments"},"review_comment":{"href":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yoctol/messaging-apis/pulls/364/commits"},"statuses":{"href":"https://api.github.com/repos/Yoctol/messaging-apis/statuses/6af21485d5b7e49cc45bc0f683d54ec9fe6e5d98"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"tw0517tw"}}