Commit graph

4575 commits

Author SHA1 Message Date
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
Temirkhan Myrzamadi
de84f8deca
Run Travis CI on the nightly channel 2019-09-02 13:35:28 +06:00
Alexey Fedechkin
3259a10d7f
Update README.md 2019-09-02 14:33:04 +07:00
Alexey Fedechkin
d270419b29
Update README.md 2019-09-02 14:32:24 +07:00
Temirkhan Myrzamadi
c2ce09c5c7
Update README.md 2019-09-02 13:28:56 +06:00
Temirkhan Myrzamadi
fe146aa521
Create .travis.yml 2019-09-02 13:24:32 +06:00
Temirkhan Myrzamadi
bdaca41eda Fix recursive types 2019-09-02 12:58:42 +06:00