Commit graph

2652 commits

Author SHA1 Message Date
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
Temirkhan Myrzamadi
4e19627f38 Fix the errors 2019-09-19 00:03:44 +06:00
Temirkhan Myrzamadi
16b5473dae Add InlineQueryResult 2019-09-19 00:03:14 +06:00
Temirkhan Myrzamadi
0426a15017 Add InlineQueryResultCachedAudio 2019-09-18 23:55:57 +06:00
Temirkhan Myrzamadi
9a22f025dd Add InlineQueryResultCachedVoice 2019-09-18 23:54:26 +06:00
Temirkhan Myrzamadi
ed09426c15 Add InlineQueryResultCachedVideo 2019-09-18 23:52:54 +06:00
Temirkhan Myrzamadi
45ac70ecd9 Add InlineQueryResultCachedDocument 2019-09-18 23:51:10 +06:00
Temirkhan Myrzamadi
7c9eb4e803 Add InlineQueryResultCachedSticker 2019-09-18 23:49:00 +06:00
Temirkhan Myrzamadi
449780c606 Add InlineQueryResultCachedMpeg4Gif 2019-09-18 23:46:31 +06:00
Temirkhan Myrzamadi
a7fa66754a Fix src/core/types/inline_query_result_article.rs 2019-09-18 23:41:48 +06:00
Temirkhan Myrzamadi
2b49b22b42
Merge pull request #25 from async-telegram-bot/feature/GetFile
add getFile implementation
2019-09-18 00:04:44 +06:00
nextel
23c63a612b add getFile implementation 2019-09-17 20:59:07 +03:00
Waffle
8b60c02673 Import File 2019-09-17 20:50:01 +03:00
Waffle
5124750be9 Replace i64 with i32 2019-09-17 20:46:46 +03:00
RustemB
2bc2ce5663 i32 as dimensions 2019-09-17 22:33:50 +05:00
RustemB
aef4d51179 fixes 2019-09-17 22:31:41 +05:00