Commit graph

648 commits

Author SHA1 Message Date
p0lunin
60532be947 refactoring 2020-01-01 20:01:26 +02:00
Waffle Lapkin
585c161511
Merge branch 'dev' into conversion_traits_for_parse_mode 2020-01-01 03:28:08 +03:00
Temirkhan Myrzamadi
e4e46d8df1 Fix teloxide::dispatching layout 2020-01-01 03:26:30 +06:00
Temirkhan Myrzamadi
2d5079ae37 Fix the links 2020-01-01 03:20:57 +06:00
Temirkhan Myrzamadi
1b89289de6 Fix Clippy 2020-01-01 01:16:47 +06:00
Temirkhan Myrzamadi
e4b0944160 Fix rustfmt again! 2020-01-01 00:35:44 +06:00
Temirkhan Myrzamadi
663e33d56b Fix rustfmt 2020-01-01 00:15:48 +06:00
p0lunin
9b21b6089b 5 2019-12-31 19:59:37 +02:00
Waffle
49a2195df9 Bot API 4.5 (December 31, 2019) updates 2019-12-31 20:58:48 +03:00
p0lunin
7cf9b4ab1f 5 2019-12-31 19:43:06 +02:00
Temirkhan Myrzamadi
fc1184087c Fix Clippy 2019-12-31 18:56:28 +06:00
Temirkhan Myrzamadi
5628f7111b Fix the conflicts 2019-12-31 18:45:19 +06:00
Temirkhan Myrzamadi
b0f85dea5b Fix grammatical mistakes in the docs 2019-12-31 17:16:01 +06:00
Temirkhan Myrzamadi
b97dbe0cb5 Add a flowchart to FilterDispatcher 2019-12-31 15:36:45 +06:00
Temirkhan Myrzamadi
6d624c59a9 Fix conflicts 2019-12-31 14:25:51 +06:00
Temirkhan Myrzamadi
52f1b6d8a9 Use Either instead of ErrorKind 2019-12-31 14:22:15 +06:00
Temirkhan Myrzamadi
43b417b9f3 Delete dispatching::dispatchers 2019-12-31 14:12:18 +06:00
Waffle
9ee9c24024 fmt 🤦 2019-12-30 23:41:10 +03:00
Waffle
be43bd6cdc fix doc 2019-12-30 23:35:58 +03:00
Waffle
49771e2d89 Fix doc test that uses polling 2019-12-30 23:26:07 +03:00
Waffle
b8579c52d1 Clean polling for a bit 2019-12-30 23:15:52 +03:00
Temirkhan Myrzamadi
05f8ff13da Fix error_handlers.rs 2019-12-31 01:42:31 +06:00
Temirkhan Myrzamadi
d73eecca36 Rename error_handler.rs -> error_handlers.rs 2019-12-31 01:21:50 +06:00
Temirkhan Myrzamadi
17f29ccb2e Fix cargo fmt 2019-12-31 01:21:21 +06:00
Temirkhan Myrzamadi
0c5189a39b Add #[must_use] to Handler 2019-12-31 01:15:58 +06:00
Temirkhan Myrzamadi
3b4a8d1bb5 Remove the unnecessary docs 2019-12-31 01:12:38 +06:00
Temirkhan Myrzamadi
fd941beec0 Fix Clippy 2019-12-31 00:55:12 +06:00
Temirkhan Myrzamadi
243b4c9173 Add error_handler::Print 2019-12-31 00:38:02 +06:00
Temirkhan Myrzamadi
3c2c1636a4 Fix the docs 2019-12-31 00:07:54 +06:00
Temirkhan Myrzamadi
8345936a95 Improve docs 2019-12-30 22:44:27 +06:00
Temirkhan Myrzamadi
d750e1c3dc Fix all the errors 2019-12-30 22:35:22 +06:00
Temirkhan Myrzamadi
e815c0945d Use StreamExt::for_each_concurrent 2019-12-30 22:02:17 +06:00
Temirkhan Myrzamadi
10a7bd6b55 Fix the compilation error 2019-12-30 21:58:10 +06:00
Temirkhan Myrzamadi
51b52b8317 Fix one error 2019-12-30 18:51:49 +06:00
Waffle Lapkin
8e01849fce
Merge pull request #106 from teloxide/skip_nones
Skip serializing nones with `#[skip_serializing_none]`
2019-12-30 15:12:45 +03:00
Temirkhan Myrzamadi
117094e9d0 Improve docs of FilterDispatcher 2019-12-30 17:27:30 +06:00
Waffle
7377467592 Skip serializing nones with #[serde_with_macros::skip_serializing_none] instead of many #[serde(skip_serializing_if = "Option::is_none")] 2019-12-30 13:44:22 +03:00
Temirkhan Myrzamadi
c51d9a0761
Merge pull request #103 from teloxide/vectorize_logo
Make logo svg
2019-12-30 16:42:39 +06:00
Temirkhan Myrzamadi
683d38e09a
Merge pull request #105 from teloxide/remove_macro_use
Remove `#[macro_use]` and use `use` instead
2019-12-30 16:41:44 +06:00
Temirkhan Myrzamadi
faf1bb5f89
Merge pull request #104 from teloxide/small_clippy_fixes
Small clippy fixes
2019-12-30 16:40:55 +06:00
Waffle Lapkin
2953310f13
Merge branch 'dev' into remove_macro_use 2019-12-30 13:17:30 +03:00
Waffle
550b28ae20 🤦 2019-12-30 13:16:23 +03:00
Waffle
51703b16b1 Remove #[macro_use] and use use instead 2019-12-30 13:14:19 +03:00
Waffle
661da5bbf4 Small clippy fixes 2019-12-30 12:29:11 +03:00
Waffle
374eb208c0 Make logo svg 2019-12-30 12:14:05 +03:00
Temirkhan Myrzamadi
410c1cc8d8 Refactor teloxide::dispatching 2019-12-30 04:46:04 +06:00
p0lunin
f89ad5c1df 4 2019-12-28 13:10:30 +02:00
p0lunin
d855d14b3c 3 2019-12-28 13:08:26 +02:00
p0lunin
d2aab9906c 2 2019-12-27 22:37:52 +02:00
p0lunin
7544bb30d9 1 2019-12-27 21:55:43 +02:00
Waffle
42b11f572e Add \n to the end og the keyboard_button.rs file 2019-12-27 17:48:00 +03:00
Waffle Lapkin
0b475c2ad0
Merge branch 'dev' into keyboard_button_enum 2019-12-27 17:44:45 +03:00
Waffle
436f99e6b8 Replace KeyboardButton's optional mutually exclusive fields by an enum 2019-12-27 17:36:03 +03:00
Temirkhan Myrzamadi
d7e128c493 Merge branch 'dev' into doc_icon 2019-12-27 02:21:29 +06:00
Temirkhan Myrzamadi
00dc72e412
Merge pull request #100 from teloxide/new_fmt
Fixes of build on CI (fmt, never-ty)
2019-12-27 02:05:32 +06:00
Waffle
08375a3eff I previous commit I accidentally run cargo +stable fmt (instead of +nightly) and forgot std:: in one of imports. This commit fixes both problems. 2019-12-26 22:52:14 +03:00
Waffle
03967493f6 run rustfmt only on nightly 2019-12-26 22:45:34 +03:00
Waffle
0d1656752f fmt 2019-12-26 22:42:58 +03:00
Waffle
6eb91f04a8 Remove uses of ! to be compatible with rust <1.41 (in rust >=1.41 core::convert::Infallible = ! so with latest versions we will work just fine) 2019-12-26 21:50:39 +03:00
Temirkhan Myrzamadi
e2a4112bd6
Update lib.rs 2019-12-26 23:43:02 +06:00
Waffle
3cf3fe2acf fmt 2019-12-16 12:40:23 +03:00
Temirkhan Myrzamadi
807e3dc851 Insert the icon into docs 2019-12-13 10:20:49 +06:00
Temirkhan Myrzamadi
2e7d1e8285 Fix weird formatting 2019-12-12 01:03:06 +06:00
Temirkhan Myrzamadi
d20bab850d Merge branch 'doc_types' of https://github.com/teloxide/teloxide into doc_types 2019-12-12 00:40:46 +06:00
Temirkhan Myrzamadi
3d4626d2aa Fix the docs of input_file.rs 2019-12-12 00:40:28 +06:00
Temirkhan Myrzamadi
6766ae3137
Update src/types/message.rs
Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
2019-12-12 00:36:36 +06:00
Temirkhan Myrzamadi
999928787d Merge branch 'doc_types' of https://github.com/teloxide/teloxide into doc_types 2019-12-12 00:31:03 +06:00
Temirkhan Myrzamadi
a4610ce8ff Use the docs of ParseMode 2019-12-12 00:30:13 +06:00
Temirkhan Myrzamadi
9e4f9e8392
Update src/types/message.rs
Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
2019-12-12 00:22:33 +06:00
Temirkhan Myrzamadi
082a916e40 Remove unnecessary 'Optional' in docs 2019-12-12 00:18:05 +06:00
Temirkhan Myrzamadi
32e970148e Use the nice crate:🅰️🅱️:c syntax in docs 2019-12-12 00:07:50 +06:00
Temirkhan Myrzamadi
fc4a1dff9e Fix the Clippy's warning 2019-12-11 22:27:42 +06:00
Temirkhan Myrzamadi
80fb280f2a Fix the docs of the API types 2019-12-11 22:19:48 +06:00
Waffle
7b3c51ff1b Rename the lib to "teloxide" 2019-12-07 22:30:15 +03:00
Waffle
a4309ef4d8 clippy 2019-12-07 19:42:36 +03:00
Waffle
852df2e90e remove feature(never_type) since it's stable since 1.41.0 (latest nightly) 2019-12-07 19:17:32 +03:00
Waffle Lapkin
81f8ef2575
Merge branch 'dev' into requests_rewrite 2019-12-07 18:53:34 +03:00
Waffle
bcb11ea9a9 fmt 2019-12-07 18:51:23 +03:00
Waffle
0a1bc8d538 Implement all (I Hope) telegram methods 2019-12-07 18:50:35 +03:00
Waffle
d91430e180 Add come derives to some types 2019-12-07 15:27:29 +03:00
Waffle
fa099b4ca8 Suppress clippy 2019-12-07 15:26:03 +03:00
Waffle
648ce5c00e clippy 2019-11-27 18:47:06 +03:00
Waffle
4ae4539631 fmt 2019-11-27 18:13:20 +03:00
Waffle
7fea75f2d7 fix build on the latest nightly 2019-11-27 18:12:32 +03:00
Waffle
a9c97c5074 remove old Request trait 2019-11-27 17:19:57 +03:00
Waffle
9b8d9eba9b fmt + doc fixes 2019-11-27 17:07:13 +03:00
Waffle
ef15a4167f Fix warnings: unused imports + forgotten pub on GetMe::new 2019-11-27 16:16:44 +03:00
Waffle
e673335e1f Fix todo: use get_updates in polling 2019-11-27 16:14:37 +03:00
Waffle
4f77f8f371 Reimplement GetFile request 2019-11-27 16:12:27 +03:00
Waffle
2009e78b5f Fix typo (seriosly? why haven't I built it before? no one knows) 2019-11-08 11:13:36 +03:00
Waffle
8056872c02 Remove "simple" request-related things 2019-11-08 01:52:04 +03:00
Waffle
a20b3f132a Derive default for GetMe 2019-11-07 19:04:57 +03:00
Waffle
49cc1451d4 Add Bot::execute_{dyn,json,multipart,simple} methods 2019-11-07 01:25:07 +03:00
Waffle
4177d20e54 Derive From for ChatId again 2019-11-07 01:24:13 +03:00
Waffle
08bf30296c Add InputFile::{file,url,file_id} constructors 2019-11-07 01:13:38 +03:00
Waffle
5f86362f17 Rename Method::METHOD => NAME, DynMethod::method => name 2019-11-06 23:49:56 +03:00
Waffle
c0953893b5 Add Bot::{get_updates, get_me, send_message, send_animation} 2019-11-05 19:45:56 +03:00
Waffle
fa220a6883 Add reference implementation of payloads 2019-11-05 19:32:22 +03:00
Waffle
7e821f2401 Small fixes in derived traits and docs of ChatId, ReplyMarkup and ReplyMarkup-related structs 2019-11-05 19:27:03 +03:00
Waffle
56a33df68c Serialize into FormValue by ref 2019-11-05 19:25:57 +03:00