How to send a .svg file? #823
Replies: 4 comments 2 replies
-
This is working
but this isn't
|
Beta Was this translation helpful? Give feedback.
-
I think you can't send bot.send_document(chat_id, InputFile::file("./line.svg"))
.await
.unwrap(); Also note that you don't necessarily have to save it on disk to send, if you can provide the file in-memory as a |
Beta Was this translation helpful? Give feedback.
-
Yeah, I sent it through the document but the android app isn't able to open the SVG document. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Now I want to send this saved line.svg file.
Beta Was this translation helpful? Give feedback.
All reactions