Open fatshotty opened 3 years ago
A little bit late, but anyway.
Here is the proper way of calling that method:
bot
.sendMediaGroup(
process.env.TELEGRAM_USER_ID,
JSON.stringify([
{
media: "https://realt.by/uploads/pics/nemiga-8.png.jpg",
type: "photo",
caption: "test",
},
]),
)
.then();
Hi, i'm trying to use
sendMediaGroup
functionality but it returns an error:(
.thumb
and.image
are http url )this code returns:
Error: 400:
{"ok":false,"error_code":400,"description":"Bad Request: parameter \"media\" is required"}
did I do something wrong?