Commit graph

648 commits

Author SHA1 Message Date
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