![見出し画像](https://assets.st-note.com/production/uploads/images/127615717/rectangle_large_type_2_ee8f4805405ca5142e06c59ea2222bed.jpg?width=800)
Photo by
hirahiranote
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);
}
この記事が気に入ったらサポートをしてみませんか?