Replies: 4 comments 3 replies
|
Same here. it works: it doesn't: |
|
It was tricky, but the answer is hidden here gramjs/gramjs/client/uploads.ts Line 616 in 5581af2 First you need to upload the file, call method getInputMedia from Utils to uploaded media and use the result in SendMultiMedia. |
Upload each media as a CustomFile, collect them into an array, then use _sendAlbum to send them as a single album with a shared caption. |
|
帮助申请telegram application 秒成功 无论什么账号 解决telegram application error问题 Help apply for telegram application in seconds, no matter what account, solve telegram application error problem 请联系Telegram : @guang8886667 请联系Telegram : https://t.me/guang8886667 |
Uh oh!
There was an error while loading. Please reload this page.
I'm encountering an error in my Node.js application while using the telegram library (gramjs) to interact with the Telegram API. The error message I'm getting is:
Here's the relevant portion of my code:
I'm attempting to send multiple media files with scheduled sending using messages.SendMultiMedia, but I'm receiving a MEDIA_INVALID error with an HTTP status code of 400. I've already checked the media files, their formats, and my authentication, but I'm still encountering this issue.
Also i saw this link for implementation my code
Could someone please help me understand what might be causing this error and how I can resolve it? Any guidance or insights would be greatly appreciated. Thank you!
All reactions