Waffle
76d47276f6
requests redesign part 0
...
This commit introduces 3 traits mentioned in requests redesign proposal:
- `Payload`
- `HasPayload`
- `Request`
Also it adds `Output<T>` alias to `<<T as HasPayload>::Payload as Payload>::Output`
2020-08-22 22:03:59 +03:00
Waffle
45a55c66de
rename Request
=> RequestOld
2020-08-22 20:59:04 +03:00
Waffle Lapkin
0a397d8900
Merge pull request #2 from teloxide/unstrict_get_updates
...
add `GetUpdatesNonStrict` - fail proof version of `GetUpdates`
2020-08-16 20:36:53 +03:00
Waffle
d186a73eda
add GetUpdatesNonStrict
'telegram' method - fail proof version of GetUpdates
2020-08-16 20:02:12 +03:00
Waffle Lapkin
d276abc45f
Merge pull request #1 from teloxide/serde_multipart
...
Serde multipart
2020-08-16 14:48:23 +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
f0709a16b3
add changes to CHANGELOG.md
...
(& a bit of fmt 🤦 )
2020-08-16 11:06:50 +03:00
Waffle
f7aef22fbf
make StickerType::{png,tgs}
pub
2020-08-16 10:58:10 +03:00
Waffle
72b776d859
some cleanup (serde_multipart)
2020-08-16 10:53:15 +03:00
Waffle
5afe72b368
rewrite requests to use serde-multipart
...
Rewrite multipart requests to use serde_multipart instead of FromBuilder
2020-08-16 00:21:55 +03:00
Waffle
b303958afd
implement serde multipart serializer
...
Serde multipart serializer can be used to serialize requests
into multipart/form-data without need for copy-paste and boilerplate
2020-08-16 00:21:01 +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
842a084abf
replace teloxide
with teloxide_core
in doc tests
2020-08-12 20:23:18 +03:00
Waffle Lapkin
95cfc0530f
Add badges to readme
2020-08-12 20:17:26 +03:00
Waffle
a70cb4e008
Move core code from teloxide
2020-08-12 19:39:40 +03:00
Waffle
7891fa02bf
Initial commit
2020-08-12 18:04:50 +03:00
Waffle Lapkin
4b683d7c90
Initial commit
2020-08-06 16:40:41 +03:00