{"id":748,"date":"2018-05-03T13:13:48","date_gmt":"2018-05-03T04:13:48","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=748"},"modified":"2020-11-17T22:33:08","modified_gmt":"2020-11-17T13:33:08","slug":"post-748","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2018\/05\/03\/post-748\/","title":{"rendered":"GAS\u3067Hangouts Chat\u306eChat Bot\u3092\u4f5c\u6210\u3057\u3066\u516c\u958b\u3059\u308b\u624b\u9806"},"content":{"rendered":"<p>\uff08Google Chat\u306eChatbot\u306e\u516c\u958b\u624b\u9806\u304c\u5909\u308f\u3063\u3066\u3044\u305f\u3002\u65b0\u3057\u304f\u3001\u624b\u9806\u3092\u4f5c\u3063\u305f\u306e\u3067\u3001<a href=\"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2020\/11\/17\/post-4711\/\">\u305d\u3061\u3089<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<a href=\"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2020\/11\/17\/post-4711\/\">GAS\u306eGoogle Chat\u306eChat Bot\u3092\u4f5c\u6210\u3057\u3066\u516c\u958b\u3059\u308b\u624b\u9806<\/a>\uff09<\/p>\n<p>Google Apps Script \u3092\u4f7f\u3063\u305fHangouts Chat\u306eChat Bot\u306e\u4f5c\u6210\u306e\u6d41\u308c\u3092\u307e\u3068\u3081\u308b\u3002<\/p>\n<h3>\u4f5c\u6210\u30d5\u30a7\u30fc\u30ba<\/h3>\n<ol>\n<li>Chat Bot \u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f<\/li>\n<li>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u3064\u3051\u3066\u4fdd\u5b58\u3059\u308b<\/li>\n<li>GAS\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f<\/li>\n<\/ol>\n<h3>\u30c7\u30d7\u30ed\u30a4<\/h3>\n<ol>\n<li>GAS\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u3001\u300c\u516c\u958b\u300d\u2192\u300c\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u304b\u3089\u914d\u7f6e\u300d\u306e\u9806\u306b\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/li>\n<li>\u3069\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u306e\u304b\u3092\u805e\u304b\u308c\u308b\u306e\u3067\u3001\u300c\u6700\u65b0\u300d\u3092\u9078\u3073\u300cGet ID\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/li>\n<li>\u8868\u793a\u3055\u308c\u305f\u300cDeployment ID\u300d\u306e\u5024\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3002<\/li>\n<li>\u300cClose\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u9589\u3058\u308b\u3002<\/li>\n<li>GAS\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u300c\u30ea\u30bd\u30fc\u30b9\u300d\u2192\u300cCloud Platform\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/li>\n<li>\u300c\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u73fe\u5728\u95a2\u9023\u4ed8\u3051\u3089\u308c\u3066\u3044\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u306e\u4e0b\u306e\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/li>\n<li>\u201dGoogle Cloud Platform\u201d\u306e\u753b\u9762\u304c\u958b\u304f\u3002<\/li>\n<li>\u5de6\u30b5\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300cAPI\u30b5\u30fc\u30d3\u30b9\u300d\u2192\u300c\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/li>\n<li>\u300c\uff0bAPI\u3068\u30b5\u30fc\u30d3\u30b9\u306e\u6709\u52b9\u5316\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/li>\n<li>\u201dHangouts Chat API\u201d \u3092\u691c\u7d22\u3057\u3001\u7d50\u679c\u304b\u3089\u201dHangouts Chat API\u201d\u3092\u9078\u629e\u3059\u308b\u3002<\/li>\n<li>\u300c\u6709\u52b9\u306b\u3059\u308b\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/li>\n<li>\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306eAPI\u306e\u201dHangouts Chat API\u201d \u306e\u30ae\u30a2\u30de\u30fc\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\uff08\u8a2d\u5b9a\u3092\u958b\u304f\uff09\u3002<\/li>\n<li>\u30dc\u30c3\u30c8\u540d\u3092\u5165\u529b\u3059\u308b\u3001\u30a2\u30d0\u30bf\u30fc\u306eURL\u306b\u8868\u793a\u3055\u305b\u308b\u753b\u50cf\u306eURL\u3092\u5165\u529b\u3059\u308b\u3002<\/li>\n<li>\u753b\u50cfURL\u306f\u3001\u5165\u529b\u3057\u306a\u3044\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u3067\u3001\u6307\u5b9a\u304c\u306a\u3051\u308c\u3070\u3001Google\u306e\u753b\u50cf\u3092\u6307\u5b9a\u3059\u308b\u3068\u3088\u3044\u3002&#8217;https:\/\/goo.gl\/yKKjbw&#8217;<\/li>\n<li>\u6a5f\u80fd\u3067\u300c\u30dc\u30c3\u30c8\u306f\u30eb\u30fc\u30e0\u5185\u3067\u6a5f\u80fd\u3057\u307e\u3059\u300d\u300c\u30dc\u30c3\u30c8\u306f\u30c0\u30a4\u30ec\u30af\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u5185\u3067\u6a5f\u80fd\u3057\u307e\u3059\u300d\u3092\u7528\u9014\u306b\u5408\u308f\u305b\u3066\u9078\u629e\u3059\u308b\u3002<\/li>\n<li>\u63a5\u7d9a\u8a2d\u5b9a\u3067\u300cApps Script Project\u300d\u3092\u9078\u629e\u3057\u3001\u4e0a\u8a18\u3067\u53d6\u5f97\u3057\u3066\u304a\u3044\u305f\u201d\u30c7\u30d7\u30ed\u30a4ID\u201d\u3092\u5165\u529b\u3059\u308b\u3002<\/li>\n<li>\u6a29\u9650\u3067\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u30e6\u30fc\u30b6\u300d\u3092\u6307\u5b9a\u3059\u308b\u3002<\/li>\n<li>\u300c\u8a2d\u5b9a\u3092\u4fdd\u5b58\u3059\u308b\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/li>\n<\/ol>\n<p>\u3053\u308c\u3067Chat Bot\u3092\u7121\u4e8b\u306b\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u3002Hangouts Chat\u304b\u3089\u3001Chat Bot\u3092\u547c\u3073\u51fa\u3057\u3066\u3001\u52d5\u4f5c\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uff08Google Chat\u306eChatbot\u306e\u516c\u958b\u624b\u9806\u304c\u5909\u308f\u3063\u3066\u3044\u305f\u3002\u65b0\u3057\u304f\u3001\u624b\u9806\u3092\u4f5c\u3063\u305f\u306e\u3067\u3001\u305d\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002GAS\u306eGoogle Chat\u306eChat Bot\u3092\u4f5c\u6210\u3057\u3066\u516c\u958b\u3059\u308b\u624b\u9806\uff09 Google Apps Sc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":762,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[98,85],"tags":[],"class_list":["post-748","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-googleappsscript","category-hangoutschat"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=748"}],"version-history":[{"count":2,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/748\/revisions"}],"predecessor-version":[{"id":4714,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/748\/revisions\/4714"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media\/762"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}