We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The sendMediaGroup works fine when the files are added using either the InputFile.fromUrl or InputFile.fromFileId methods.
sendMediaGroup
InputFile.fromUrl
InputFile.fromFileId
But, when adding files with the InputFile.fromFile to send local files, the method fails.
InputFile.fromFile
Example code:
final group = [ InputMediaPhoto( media: InputFile.fromFile( io.File("./example/photo.jpeg"), ), ), InputMediaPhoto( media: InputFile.fromFile( io.File("./example/galaxy.jpeg"), ), ), ]; final msgs = await bot.api.sendMediaGroup(id, group);
Error code: HttpException [400]: Bad Request: there are no messages to send
The text was updated successfully, but these errors were encountered:
Fix #56 : sending local media group works fine 📸
c89cceb
HeySreelal
Successfully merging a pull request may close this issue.
The
sendMediaGroup
works fine when the files are added using either theInputFile.fromUrl
orInputFile.fromFileId
methods.But, when adding files with the
InputFile.fromFile
to send local files, the method fails.Example code:
Error code:
HttpException [400]: Bad Request: there are no messages to send
The text was updated successfully, but these errors were encountered: