entities: html[1],
peer: groupId,
media: new Method({ url }),
message: html[0],
}),
what's wrong here ?
Telegram server is unable to fetch the media from the url.
And I don't remember sendmedia being an actual telegram bot api method 🤔
but when i open link in web browser it is working
Are you sure that it is pointing right into a file? Sometimes websites are using Javascript to start download and it wont work in that case
Don't really mind this if it will work at the end. Maybe library just calls sendphoto/audio/document depending on content type or maybe that's just a method that's not on method list
They use @gramjschat
oh, is it based on common telegram api and not a bot one?
Обсуждают сегодня