質問編集履歴

2

12行目引用符漏れを追記

2023/06/18 04:18

投稿

yoyoda
yoyoda

スコア11

test CHANGED
File without changes
test CHANGED
@@ -45,7 +45,7 @@
45
45
 
46
46
  // 再生する音声ファイルのURL
47
47
  //const audioUrl = 'https://drive.google.com/file/d/■■■■■■■■■/view?usp=sharing'
48
- const audioUrl = 'https://〇〇〇〇〇〇〇/△△△△/Folder1/Floder2/hissatsu.mondo.m4a;
48
+ const audioUrl = 'https://〇〇〇〇〇〇〇/△△△△/Folder1/Floder2/hissatsu.mondo.m4a';
49
49
 
50
50
  // Messaging APIのメッセージイベントの送信
51
51
  function sendAudioMessage(userId, audioUrl) {

1

audioUrl二つ定義されてますが、実行時片方コメントアウトして実行しています。

2023/06/17 22:49

投稿

yoyoda
yoyoda

スコア11

test CHANGED
File without changes
test CHANGED
@@ -44,7 +44,7 @@
44
44
  const userId = '●●●●●●●●';
45
45
 
46
46
  // 再生する音声ファイルのURL
47
- const audioUrl = 'https://drive.google.com/file/d/■■■■■■■■■/view?usp=sharing'
47
+ //const audioUrl = 'https://drive.google.com/file/d/■■■■■■■■■/view?usp=sharing'
48
48
  const audioUrl = 'https://〇〇〇〇〇〇〇/△△△△/Folder1/Floder2/hissatsu.mondo.m4a;
49
49
 
50
50
  // Messaging APIのメッセージイベントの送信