Commit graph

6 commits

Author SHA1 Message Date
Waffle
d2b97b2120 Use #[serde(field_identifier)] instead of hand-made workarounds
This attribute doesn't seem to be documented btw...
2020-10-22 00:42:06 +03:00
Waffle
41afdb554d fmt 2020-10-20 17:02:31 +03:00
Waffle
193dd69265 Cleanup errors 2020-10-20 15:07:10 +03:00
Waffle Lapkin
891106cabe
Update src/errors.rs
Co-authored-by: Temirkhan Myrzamadi <hirrolot@gmail.com>
2020-08-16 14:44:08 +03:00
Waffle
06f123710e add RequestError::Io to wrap I/O errors
Add `RequestError::Io(std::io::Error)` to wrap I/O errors those may happen
while reading files to upload them to telegram
2020-08-15 23:52:08 +03:00
Waffle
a70cb4e008 Move core code from teloxide 2020-08-12 19:39:40 +03:00