This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"apiFields":[{"idValue":"dGOAD3wATu","fieldId":"reservationAt","name":"予約日時","kind":"date"},{"fieldId":"userName","name":"ユーザー名","kind":"text"},{"fieldId":"lineId","name":"LINE ID","kind":"text","isUnique":false},{"fieldId":"staff","name":"担当者ID","kind":"relation","referenceDisplayItem":"qcMMjuRytc"},{"fieldId":"course","name":"コース","kind":"number"},{"fieldId":"clientFreeForm","name":"ユーザー自由記入欄","kind":"textArea"},{"fieldId":"staffFreeForm","name":"店舗自由記入欄","kind":"textArea"}],"customFields":[]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//LINEボットのアクセストークン | |
var LINE_BOT_ACCESS_TOKEN = PropertiesService.getScriptProperties().getProperty("LINE_BOT_ACCESS_TOKEN"); | |
// PropertiesService.getScriptProperties | |
//Googleドライブに作ったフォルダのURLの末尾にある30文字くらいの文字列 | |
var GOOGLE_FOLDER_ID = PropertiesService.getScriptProperties().getProperty("GOOGLE_FOLDER_ID"); | |
//返信用エンドポイント | |
var REPLY_URL = 'https://api.line.me/v2/bot/message/reply'; | |
const sendMessage = (replyToken, replyMessageObject) =>{ |
OlderNewer