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
|
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 Payload s 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 |
|
Temirkhan Myrzamadi
|
1df08f02c7
|
Merge pull request #79 from telebofr/handles_type
Simplify 'type Handlers = ...' (dispatchers/filter/mod.rs)
|
2019-11-04 01:19:30 +06:00 |
|
Temirkhan Myrzamadi
|
478cde4c3f
|
Oops
|
2019-11-04 01:03:56 +06:00 |
|
Temirkhan Myrzamadi
|
f8851eabff
|
Rework HandlerAndFilter::new
|
2019-11-04 01:03:04 +06:00 |
|
Temirkhan Myrzamadi
|
60391de28a
|
Add FilterAndHandler::new
|
2019-11-03 19:33:24 +06:00 |
|
Temirkhan Myrzamadi
|
89db95ef3f
|
Simplify 'type Handlers = ...' (dispatchers/filter/mod.rs)
|
2019-11-03 19:16:38 +06:00 |
|
Temirkhan Myrzamadi
|
ce2e949cb1
|
Merge pull request #78 from telebofr/error_policy
Error policy
|
2019-11-02 14:33:07 +00:00 |
|
Temirkhan Myrzamadi
|
66cbedae01
|
Merge pull request #77 from telebofr/add_ignore_error_policies
Add `Ignore` and `IgnoreSafe` error policies.
|
2019-11-02 14:32:47 +00:00 |
|
Waffle
|
ab9f2b99f1
|
Add newline at the end of the Cargo.toml
|
2019-11-02 17:16:54 +03:00 |
|
Waffle
|
5c73af4a6f
|
Add Ignore and IgnoreSafe error policies.
|
2019-11-02 17:15:13 +03:00 |
|
Temirkhan Myrzamadi
|
49f1cfd4f3
|
Merge pull request #76 from telebofr/fix_error_policy_by_hand_implementing
Fix `ErrorPolicy` by implementing trait on all `Fn() -> Fut` by-hands…
|
2019-11-02 14:12:03 +00:00 |
|
Waffle
|
4423a992c0
|
Fix indent for where
|
2019-11-02 16:50:32 +03:00 |
|
Temirkhan Myrzamadi
|
80d1935e0e
|
Merge pull request #73 from telebofr/cows_for_form_builder
little simplification/optimization (use Cow in `FormBuilder`)
|
2019-11-02 13:32:58 +00:00 |
|
Waffle
|
3f2d049c22
|
Fix ErrorPolicy by implementing trait on all Fn() -> Fut by-hands (and some related small fixes)
|
2019-11-02 15:55:54 +03:00 |
|
Waffle Lapkin
|
31c9a44276
|
Merge branch 'dev' into cows_for_form_builder
|
2019-11-02 02:12:34 +03:00 |
|
Waffle
|
5b0f8e8c0e
|
little simplification/optimization (use Cow in FormBuilder
)
|
2019-11-02 02:10:39 +03:00 |
|
Temirkhan Myrzamadi
|
a537830472
|
An another try to implement ErrorPolicy for FnMut
|
2019-11-01 22:09:27 +06:00 |
|
Temirkhan Myrzamadi
|
1d9c42c309
|
Fix
|
2019-11-01 21:51:09 +06:00 |
|
Temirkhan Myrzamadi
|
65e003120d
|
Add comments (error_policy.rs)
|
2019-10-31 15:50:36 +06:00 |
|
Temirkhan Myrzamadi
|
a2eda602c0
|
A erroneous implementation of trait ErrorPolicy
|
2019-10-31 15:42:18 +06:00 |
|
Temirkhan Myrzamadi
|
04dd861f51
|
Fmt
|
2019-10-29 01:28:38 +06:00 |
|
P0lunin
|
262031cd81
|
moved filters from ..\dispatching\dispatchers\filter\ to ..\dispatching\
|
2019-10-25 18:16:10 +03:00 |
|
P0lunin
|
0add325e31
|
optimized tests
|
2019-10-25 18:09:56 +03:00 |
|
P0lunin
|
9feaf63362
|
added MessageTextCaptionFilter
|
2019-10-23 19:28:01 +03:00 |
|
P0lunin
|
053a946a34
|
added docs
|
2019-10-23 19:21:48 +03:00 |
|
P0lunin
|
e2cd5a8440
|
added generics into functions
|
2019-10-23 18:46:04 +03:00 |
|
P0lunin
|
f67011eb42
|
added CommandFilter
|
2019-10-23 18:36:53 +03:00 |
|
P0lunin
|
720a34932f
|
divided TextFilter into MessageTextFilter and MessageCaptionFilter
|
2019-10-23 18:36:37 +03:00 |
|