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
new InputFile()
Since this change, passing blob to `new InputFile()` lead to this error on **Vercel Edge Runtime**:
TypeError: ReadableStream.from is not a function
Example code:
const response = await fetch(url, {headers, method, body}); const file = new InputFile(await response.blob(), filename); await ctx.replyWithDocument(file);
Originally posted by @PonomareVlad in #484 (comment)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
TypeError: ReadableStream.from is not a function
Example code:
Originally posted by @PonomareVlad in #484 (comment)
The text was updated successfully, but these errors were encountered: