Commit graph

655 commits

Author SHA1 Message Date
Waffle Lapkin
821574e6de
Switch ci-badge from travis to github-actions
Switch ci-badge in `README.md` from travis to github-actions
2019-12-08 01:06:04 +03:00
Temirkhan Myrzamadi
c2677929f1
Merge pull request #84 from teloxide/requests_rewrite
Requests rewrite
2019-12-08 00:55:44 +06: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
Temirkhan Myrzamadi
c32e0fbdfc
Merge pull request #86 from telebofr/move-ci-to-actions
Move CI to github actions
2019-11-27 21:58:59 +06:00
Waffle
9533b53c4e Remove travis CI 2019-11-27 18:53:12 +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 Lapkin
c2d9001051
Move CI to github actions 2019-11-27 17:30:33 +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
Temirkhan Myrzamadi
6d83450a46
Merge pull request #85 from telebofr/input_file_constructors
Add `InputFile::{file,url,file_id}` constructors
2019-11-26 20:29:49 +06:00
Temirkhan Myrzamadi
38fcdf18d5 Merge branch 'dev' of https://github.com/telebofr/telebofr into dev 2019-11-22 22:44:02 +06:00
Temirkhan Myrzamadi
0162136c73 Remove hw.doc 2019-11-13 20:45:18 +06:00
Temirkhan Myrzamadi
c0bd9b64c8 Remove hw.doc 2019-11-13 20:45:18 +06: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
Waffle
f3d554c9a5 Remove derive Serialize for InputFile 2019-11-05 19:01:03 +03:00
Waffle
93344c5d06 Derive Deserialize and Serialize on InputFile 2019-11-05 18:57:30 +03:00
Waffle
b13472cbcd Remove some commented things 2019-11-05 18:56:52 +03:00
Waffle
80ad646869 Move Output type and method fn from dynamic::Payload to new DynMethod trait 2019-11-05 18:55:13 +03:00
Waffle
521eef7550 Remove old requests 2019-11-05 17:10:41 +03:00
Waffle
be11633d6e Make dynamic::Request _really_ dynamic (ooops) 2019-11-05 00:51:15 +03:00
Waffle
e2922199d4 Add some docs 2019-11-05 00:47:31 +03:00
Waffle
86f9e9911c Add #[must_use] on requests 2019-11-05 00:34:48 +03:00
Waffle
0b750f2ac1 Add dynamic::{Kind, Payload, Request} (they are needed for storing _some_ request with concrete output) 2019-11-05 00:28:47 +03:00
Waffle
b788da0608 Move modules to files 2019-11-05 00:06:52 +03:00
Waffle
7868d9c832 Add simple::{Payload, Request} 2019-11-05 00:00:26 +03:00
Waffle
b02f10e73c Move Output type and METHOD const from Payloads to Method trait 2019-11-04 23:56:54 +03:00
Waffle
4c2e8029a9 Add multipart::{Payload, Request} 2019-11-04 23:54:19 +03:00
Waffle
602d07623b Add json::{Payload, Request} 2019-11-04 23:48:38 +03:00
Waffle
0a36537aa5 Comment all the deprecated stuff 2019-11-04 22:45:14 +03:00