Commit graph

317 commits

Author SHA1 Message Date
Waffle
1ca7e7e226 Add Bot::get_updates method 2019-09-27 15:26:52 +03:00
Waffle
e1908b7b84 Merge branch 'dev' into dispatcher 2019-09-21 02:10:01 +03:00
Waffle Lapkin
14b866db4c
Merge pull request #29 from async-telegram-bot/get_updates
Add `GetUpdates` method
2019-09-21 01:59:12 +03:00
Waffle
d383c12019 Add GetUpdates method 2019-09-21 01:56:16 +03:00
Waffle
36f146580e Fix build after resolving conflicts 2019-09-21 01:22:31 +03:00
Waffle Lapkin
78988205e9
Merge branch 'dev' into dispatcher 2019-09-21 01:17:25 +03:00
Temirkhan Myrzamadi
e7edb29fc3
Merge pull request #28 from async-telegram-bot/reformatting
Reformatting
2019-09-21 04:14:50 +06:00
Waffle
ec4d23626a Fixes 2019-09-21 01:05:48 +03:00
Waffle
f95ea5ee31 cargo fmt 2019-09-21 00:57:17 +03:00
Waffle
f37552536e Split network into different files 2019-09-21 00:56:25 +03:00
Waffle
5284d5e884 Reformat imports 2019-09-21 00:44:29 +03:00
Waffle
cf3e0182c9 Fix name of the StickerSet 2019-09-21 00:40:25 +03:00
Waffle
1b52a8cdd3 Split bot into different files 2019-09-21 00:20:15 +03:00
Waffle
fb0daffbd5 Move RequestError to errors.rs 2019-09-21 00:06:35 +03:00
Waffle
af9cf93c76 Remove core module 2019-09-21 00:02:37 +03:00
Temirkhan Myrzamadi
bd9ba91de2
Merge pull request #27 from async-telegram-bot/file_download
File download & small fixes
2019-09-21 02:42:37 +06:00
Waffle Lapkin
d5adf4701b
Merge branch 'dev' into file_download 2019-09-20 23:36:49 +03:00
Waffle
f543cc371f Implement file downloading (and also add Bot::get_file) 2019-09-20 23:28:58 +03:00
Temirkhan Myrzamadi
2b23136e2f CommonMessage -> Common, PinnedMessage -> Pinned 2019-09-21 02:05:56 +06:00
Temirkhan Myrzamadi
84548b0727
Merge pull request #26 from Mr-Andersen/dev
+Message::text(&self); message_kind->kind; IncomingMessage->CommonMes…
2019-09-21 02:02:49 +06:00
nextel
f4b9e93447 cargo fmt for requests/* 2019-09-20 17:42:24 +03:00
Temirkhan Myrzamadi
cb5ea4a5b7 Simplify src/core/network/mod.rs 2019-09-20 06:24:08 +06:00
P0lunin
cc9d59cf49 Merge branch 'dev' of https://github.com/async-telegram-bot/async-telegram-bot into dev 2019-09-19 19:38:34 +03:00
P0lunin
7b638eb2c0 add tests 2019-09-19 19:38:07 +03:00
P0lunin
c395e24792 add enum ChatMemberStatus 2019-09-19 19:37:48 +03:00
Mr-Andersen
ccbfee24b8 +Message::text(&self); message_kind->kind; IncomingMessage->CommonMessage 2019-09-19 19:18:09 +03:00
nextel
ced6bd8e69 add get user profile photos template struct 2019-09-19 17:57:50 +03:00
Waffle
9f157057ec Remove done TODO 2019-09-19 16:31:11 +03:00
Waffle
fe75e0ff07 Add MigrateToChatId and RetryAfter to RequestError 2019-09-19 01:59:16 +03:00
Waffle
9cc5806f07 Fix some visibility issues that were causing warnings 2019-09-19 01:45:40 +03:00
Waffle
553ffd928b Fix some "unused imports" warnings 2019-09-19 01:37:45 +03:00
Waffle
d9a974472a Derive From for InlineQueryResult 2019-09-19 01:34:35 +03:00
Waffle
fda1d37e77 Run cargo fmt 2019-09-19 01:30:30 +03:00
Waffle
2b1ce74d94 Add 2 serialization tests to InlineQueryResult 2019-09-19 00:59:13 +03:00
Waffle
3c65d34955 Add #[serde(skip_serializing_if = "Option::is_none")] to InlineQueryResult* optional fields 2019-09-19 00:58:30 +03:00
Waffle
1bee0a9c26 Fix test src/core/types/inline_keyboard_markup.rs - core::types::inline_keyboard_markup::InlineKeyboardMarkup (line 18) 2019-09-19 00:57:23 +03:00
Waffle
feee762d78 Fix test core::types::input_message_content::tests::venue_serialize 2019-09-19 00:55:46 +03:00
Waffle
f96f9a3a2b Fix InlineQueryResultLocation (Add Option<> to optional fields) 2019-09-19 00:44:23 +03:00
Waffle
685d19dc34 Fix type of parse_mode (String -> ParseMode) 2019-09-19 00:27:05 +03:00
Waffle
0896c59c84 Add derive(Hash) to ParseMode 2019-09-19 00:17:13 +03:00
Waffle
59f419f947 Clean InlineQueryResult* structs 2019-09-19 00:16:44 +03:00
Waffle
04d31cd785 Add InlineQueryResult* imports 2019-09-18 23:52:24 +03:00
Waffle
35b7a2c6cf Add missing InlineQueryResult* structs 2019-09-18 23:51:54 +03:00
RustemB
3b6b147b69 getChat 2019-09-19 00:22:58 +05:00
Temirkhan Myrzamadi
4cf17a4b68 Add InlineQueryResultVideo 2019-09-19 00:16:44 +06:00
Temirkhan Myrzamadi
1762ebe2c0 Add InlineQueryResultMpeg4Gif 2019-09-19 00:11:47 +06:00
Temirkhan Myrzamadi
2ef4c6a0e6 Add InlineQueryResultGif 2019-09-19 00:10:13 +06:00
Temirkhan Myrzamadi
da2ebc07c3 Fix src/core/types/inline_query_result_photo.rs 2019-09-19 00:08:14 +06:00
Temirkhan Myrzamadi
387e3ae8e9 Add InlineQueryResultPhoto 2019-09-19 00:07:47 +06:00
Temirkhan Myrzamadi
cc534cb95b Fix the warnings 2019-09-19 00:04:58 +06:00