Skip to content

Instantly share code, notes, and snippets.

View 4geru's full-sized avatar
🐼
Please send message to me in Twitter DM, if you want to contact.

koichi uchinishi 4geru

🐼
Please send message to me in Twitter DM, if you want to contact.
View GitHub Profile
@4geru
4geru / reservations.json
Last active March 10, 2023 22:13
microCMS schema for LIFF microCMS hands on
{"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":[]}
@4geru
4geru / gist:e28d93497d4caaa8606c055e72ce848d
Created March 22, 2024 23:54
gas save image and reply image
//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) =>{