Commit graph

136 commits

Author SHA1 Message Date
Waffle
88ec897751 Merge branch 'dev' of github.com:async-telegram-bot/async-telegram-bot into dev 2019-09-06 02:26:56 +03:00
Waffle
b05cb12f98 Fix serialization for requests 2019-09-06 01:24:46 +03:00
Waffle
d08b418d59 Add ParseMode serialization tests 2019-09-06 01:23:14 +03:00
P0lunin
ba2aee880f fix doc 2019-09-05 19:35:01 +03:00
P0lunin
1ea9d9d198 fix 2019-09-05 19:25:56 +03:00
Waffle
4d241131fc Make ResponseParameters more rust-friendly 2019-09-05 19:12:03 +03:00
Waffle
7e14e8f9e7 Fix redundant "" when sending messages (Note: string types should use FormBuilder::add_raw instead of FormBuiolder::add) 2019-09-05 19:11:16 +03:00
Waffle
4094c1ceb8 Add serialization tests for ChatId 2019-09-05 19:00:26 +03:00
Waffle
e58d40a765 Add #[serde(untagged)] to ChatId 2019-09-05 18:44:08 +03:00
P0lunin
17a26aec7b fixed compilation errors 2019-09-05 18:03:21 +03:00
P0lunin
dda98e7db8 changed field type String to ParseMode (completed TODO) 2019-09-05 17:59:11 +03:00
P0lunin
82f0156ef8 add method 2019-09-05 17:55:42 +03:00
Waffle
9b98895a60 Derive Clone on plenty of types 2019-09-04 21:58:01 +03:00
Temirkhan Myrzamadi
8ec055b0f9
Merge pull request #10 from Mr-Andersen/dev
Dev
2019-09-04 23:27:06 +06:00
Temirkhan Myrzamadi
2c1ae116e1 Rename RequestInfo to RequestContext (requests/mod.rs) 2019-09-04 23:24:16 +06:00
Andrew Andersen
8be6c49b7e
Merge branch 'dev' into dev 2019-09-04 19:00:11 +03:00
Mr-Andersen
05899b53d2 Added Serialization for Chat 2019-09-04 18:58:35 +03:00
Mr-Andersen
b254de2564 Fixed bug with Chat 2019-09-04 18:33:34 +03:00
Temirkhan Myrzamadi
1ab1ae0224 Set the line width to 80 (rustfmt.toml) 2019-09-04 20:07:56 +06:00
Mr-Andersen
386c73b47a Renamed file 2019-09-04 16:35:59 +03:00
Waffle
8fe2db0259 Merge branch 'dev' of github.com:async-telegram-bot/async-telegram-bot into dev 2019-09-04 11:08:17 +03:00
Waffle
8030fe4418 Prototype hing-level api. 2019-09-04 11:07:49 +03:00
Temirkhan Myrzamadi
5b8f8f587d Fix the PhotoSize type 2019-09-04 14:04:30 +06:00
Temirkhan Myrzamadi
c47e4c03ac Make all the fields of all the types public 2019-09-04 14:00:26 +06:00
Waffle
42c961b595 Implement request builders by hand instead of TypedBuilder 2019-09-04 11:00:15 +03:00
Waffle
fe48ed2730 Borrow client and token in RequestInfo instead of moving. (this also adds lifetimes to Request, RequestInfo, RequestFuture) 2019-09-04 10:34:52 +03:00
Waffle
4fc11dc3dc Remove strange function 2019-09-04 09:43:43 +03:00
Waffle
8b878c3827 Remove Integer and UnsignedInteger aliases 2019-09-04 09:41:44 +03:00
P0lunin
d18f7f9666 Merge remote-tracking branch 'origin/dev' into dev 2019-09-04 09:08:19 +03:00
P0lunin
17f80589e9 add docs 2019-09-04 09:07:47 +03:00
Temirkhan Myrzamadi
e640065552
Merge pull request #9 from Mr-Andersen/dev
Much
2019-09-04 10:45:27 +06:00
Mr-Andersen
59360cbc7d Re-factored Chat in "enum style" 2019-09-03 22:29:37 +03:00
Mr-Andersen
52e8507be4 Added Venue; #[skip_serizlizing_if = "Option::is_none"] where it is missed 2019-09-03 21:44:38 +03:00
Mr-Andersen
3a80ecacc0 Added Video 2019-09-03 21:22:52 +03:00
P0lunin
a17f3129a3 add struct 2019-09-03 21:14:19 +03:00
Mr-Andersen
2d074e73e2 Added PhotoSize, removed use serde::... in **/types/* 2019-09-03 21:11:39 +03:00
P0lunin
ff2285890f add struct 2019-09-03 21:09:34 +03:00
P0lunin
b4cfb893e9 add struct 2019-09-03 21:05:09 +03:00
P0lunin
7262d54fa0 add struct 2019-09-03 21:02:18 +03:00
P0lunin
dcdc776c50 add struct and set fields type to 'pub' 2019-09-03 20:56:43 +03:00
P0lunin
1852b8f5a1 add struct 2019-09-03 20:47:21 +03:00
P0lunin
28b1ef45b2 add struct 2019-09-03 20:41:49 +03:00
RustemB
afe840cab6 WebhookInfo 2019-09-03 22:37:29 +05:00
RustemB
8b39c5fb68 WebhookInfo 2019-09-03 22:37:18 +05:00
Mr-Andersen
e41d62a27f Resolved conflict 2019-09-03 20:32:48 +03:00
Waffle
f100bdc7ed Pin RequestFuture 2019-09-03 20:23:52 +03:00
Waffle
9f8396f752 Merge branch 'dev' of github.com:async-telegram-bot/async-telegram-bot into dev 2019-09-03 19:32:14 +03:00
Waffle
38b5945ec8 Fix ParseMode, InputFile and InputMedia (add to module tree, add docs, etc) 2019-09-03 19:25:13 +03:00
Temirkhan Myrzamadi
d71c4d39a0 Fix the compilation errors 2019-09-03 20:39:49 +06:00
Temirkhan Myrzamadi
383ea99e81 Refine core/network/mod.rs 2019-09-03 20:34:29 +06:00