send_file
Sends a local or remote file to a LINE chat or contact using a chat MID plus a file path or URL, supporting PDF, Office, ZIP, video, and audio files.
Instructions
ส่งไฟล์ (PDF, Word, Excel, ZIP, วิดีโอ, เสียง ฯลฯ) ไปยังห้องแชทหรือบุคคล ระบุ filePath หรือ fileUrl อย่างใดอย่างหนึ่ง
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatMid | Yes | MID ของห้องแชทหรือผู้รับ | |
| fileUrl | No | URL ของไฟล์ (http/https) | |
| fileName | No | ชื่อไฟล์ที่จะแสดงใน LINE (ไม่บังคับ) | |
| filePath | No | path เต็มของไฟล์ในเครื่อง เช่น C:\temp\report.pdf |