Replies: 2 comments 3 replies
-
Same here. it works:
it doesn't:
|
Beta Was this translation helpful? Give feedback.
3 replies
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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!
Beta Was this translation helpful? Give feedback.
All reactions