Commit graph

4881 commits

Author SHA1 Message Date
Mr-Andersen
8511aeb609 Fixed problems with borrow checker in core/requests 2019-09-03 14:15:54 +03:00
Mr-Andersen
5e57abf676 Added dummy types into core/types/not_implemented_types.rs; Added MessageEntity 2019-09-03 13:57:53 +03:00
Waffle
f304fd6a6b Merge branch 'dev' of github.com:async-telegram-bot/async-telegram-bot into dev 2019-09-03 12:04:24 +03:00
Waffle
6e2f5c2da6 Merge branch 'dev' of github.com:async-telegram-bot/async-telegram-bot into dev 2019-09-03 12:03:51 +03:00
Waffle
3f88c45d6b Rework Request trait 2019-09-03 12:03:38 +03:00
fedechkin_alexey
2a7f90e204 fix input_media.rs 2019-09-03 16:03:16 +07:00
fedechkin_alexey
40c362de05 add inputMedia 2019-09-03 15:57:28 +07:00
RustemB
a311458454 InputFile 2019-09-03 13:49:11 +05:00
fedechkin_alexey
57a4a60406 fix file name
add struct: login,response_parameter
2019-09-03 15:30:10 +07:00
Temirkhan Myrzamadi
6de592fa6b Merge branch 'dev' of https://github.com/async-telegram-bot/async-telegram-bot into dev 2019-09-03 14:05:06 +06:00
Temirkhan Myrzamadi
01cd8ddd5f Implement core/requests/form_builder.rs 2019-09-03 14:04:35 +06:00
P0lunin
4718572088 add enum 2019-09-03 10:55:44 +03:00
P0lunin
1891976650 add struct 2019-09-03 10:55:29 +03:00
Temirkhan Myrzamadi
23b94bab01 Fix a few things and format the code 2019-09-03 13:04:07 +06:00
Temirkhan Myrzamadi
47d56c7ddd Use serde::Serialize instead of Display (helpers.rs) 2019-09-03 13:01:36 +06:00
Temirkhan Myrzamadi
d3dc4e3f9a Add rustfmt.toml 2019-09-03 12:36:42 +06:00
Temirkhan Myrzamadi
6531a72ebe Simplify the Form construction pattern 2019-09-03 12:35:20 +06:00
Temirkhan Myrzamadi
c6f818e8bb Fix network/mod.rs 2019-09-03 09:39:01 +06:00
Temirkhan Myrzamadi
7ec19d23c2 Simplify requests/send_message.rs a little bit 2019-09-03 09:36:34 +06:00
RustemB
47e97ec2be Merge branch 'dev' of github.com:async-telegram-bot/async-telegram-bot into dev 2019-09-03 01:23:10 +05:00
RustemB
1087b0aa2b New struct: StickerSet 2019-09-03 01:22:16 +05:00
Waffle
aa05069829 Fix Form creation for SendMessage 2019-09-02 23:16:24 +03:00
RustemB
1b97feebf5 Improve types 2019-09-03 01:06:54 +05:00
RustemB
27901b1614 Improve types 2019-09-03 01:04:06 +05:00
RustemB
3171db78e2 New struct: Sticker, MaskPosition; Sticker requires PhotoSize by @no111u3 2019-09-03 01:01:04 +05:00
fedechkin_alexey
ddfa5aaa70 Merge remote-tracking branch 'origin/dev' into dev 2019-09-02 20:51:50 +07:00
fedechkin_alexey
b41f3cbe27 add struct 2019-09-02 20:51:03 +07:00
Waffle
3e0e3ae4b4 Add docs for method_url and file_url 2019-09-02 16:35:52 +03:00
Waffle
d72dae122d Implement Display, PartialEq, Eq and Error for RequestError 2019-09-02 16:33:32 +03:00
Waffle
e1be16fba2 Derive PartialEq, Eq and Hash on telegram types 2019-09-02 14:24:34 +03:00
Temirkhan Myrzamadi
65f153734d Make all fields of all the types public 2019-09-02 17:10:55 +06:00
Temirkhan Myrzamadi
8ca3e95193 Merge branch 'dev' of https://github.com/async-telegram-bot/async-telegram-bot into dev 2019-09-02 17:04:23 +06:00
Temirkhan Myrzamadi
e19368482e Define the 'network' module as public 2019-09-02 17:04:06 +06:00
Waffle
1b86af3baa Move url creation to separate function 2019-09-02 13:59:02 +03:00
Temirkhan Myrzamadi
72be7ee750 Put all the existing types into core/types 2019-09-02 16:55:19 +06:00
Temirkhan Myrzamadi
c4fcc13dcd Use a type alias instead of a generic in Request 2019-09-02 16:29:29 +06:00
Temirkhan Myrzamadi
cad60fa2fb Refine network/mod.rs 2019-09-02 16:21:10 +06:00
Waffle
ce87928a90 Use an owned String instead of borrowed &str for token in GetMe request 2019-09-02 11:10:58 +03:00
Waffle
9b78fb5b9a Fix typo: use i64 instead of i32 in requests 2019-09-02 11:09:16 +03:00
Temirkhan Myrzamadi
b71d75ad94
Update mod.rs 2019-09-02 14:07:28 +06:00
Temirkhan Myrzamadi
194351a064
Delete inline_mode.rs 2019-09-02 14:03:52 +06:00
Temirkhan Myrzamadi
2c2a54e7e1
Delete games.rs 2019-09-02 14:03:40 +06:00
Temirkhan Myrzamadi
4ad1cf8c62
Delete updating_messages.rs 2019-09-02 14:03:30 +06:00
Temirkhan Myrzamadi
0781d3b3b0
Delete telegram_passport.rs 2019-09-02 14:02:51 +06:00
Temirkhan Myrzamadi
d1e2c95b17
Delete stickers.rs 2019-09-02 14:02:31 +06:00
Temirkhan Myrzamadi
16aca2c74a
Delete getting_updates.rs 2019-09-02 14:02:23 +06:00
Waffle
c84636ebab Implement Eq for requests, fix core::requests::send_message::test::default (add .build()) 2019-09-02 10:49:01 +03:00
Waffle
6c9ac6125e Merge branch 'dev' of github.com:async-telegram-bot/async-telegram-bot into dev 2019-09-02 10:40:12 +03:00
Waffle
57ee4e9223 requests 2019-09-02 10:39:29 +03:00
Temirkhan Myrzamadi
d49b4f3585
Update README.md 2019-09-02 13:35:49 +06:00