LINE notify関数(GAS)
メモ
LINE通知する関数
function sendLine(message){
const token = 'YOUR_LINE_NOTIFY_TOKEN';
const options =
{
"method" : "post",
"payload" : {"message":message},
"headers" : {"Authorization":"Bearer " + token}
};
UrlFetchApp.fetch('https://notify-api.line.me/api/notify', options);
}
この記事が気に入ったらサポートをしてみませんか?