C
Size: a a a
C
k
k
v
v
v
G
S
v
v
v
G
v
AL
AL
D
screenshot.save(BytesIO(), "PNG")
await message.reply_photo(screenshot)
И
screenshot.save("out.png", "PNG")
opened = Image.open("out.png")
await message.reply_photo(opened)
Приводят кTypeError: Can not serialize value type: <class 'PIL.PngImagePlugin.PngImageFile'>
ф[
screenshot.save(BytesIO(), "PNG")
await message.reply_photo(screenshot)
И
screenshot.save("out.png", "PNG")
opened = Image.open("out.png")
await message.reply_photo(opened)
Приводят кTypeError: Can not serialize value type: <class 'PIL.PngImagePlugin.PngImageFile'>
D
D
await message.reply_photo(types.InputFile("out.png"))
Спасибо, так работаетD