Commit graph

995 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
1006a7d187 Avoid code duplication in src/bot/mod.rs 2020-07-25 04:11:58 +06:00
Temirkhan Myrzamadi
4c78414771 Fix the docs of client_from_env 2020-07-25 04:08:04 +06:00
Temirkhan Myrzamadi
55ab94b1c4 Use sound_bot in src/bot/mod.rs 2020-07-25 04:07:36 +06:00
Temirkhan Myrzamadi
0fae235597 Use sound_bot in client_from_env 2020-07-25 03:57:38 +06:00
Temirkhan Myrzamadi
2a5d88df0e Fix dispatching::dialogue 2020-07-25 01:40:12 +06:00
Temirkhan Myrzamadi
8a961e8fdf Fix the code example in dispatching::dialogue 2020-07-25 01:16:29 +06:00
Temirkhan Myrzamadi
5f67d633bc Refer to the latest version of reqwest 2020-07-25 01:04:42 +06:00
Temirkhan Myrzamadi
2a684f9906 Document client_from_env 2020-07-25 01:02:46 +06:00
Temirkhan Myrzamadi
3b26f747b7 Export client_from_env into utils 2020-07-25 00:55:36 +06:00
Temirkhan Myrzamadi
51a98d5d86 Fix the docs of dispatching::dialogue::next 2020-07-25 00:53:49 +06:00
Temirkhan Myrzamadi
bdab7afe64 Fix the docs of dispatching::dialogue 2020-07-25 00:42:53 +06:00
Temirkhan Myrzamadi
a79bb7ba4f Fixing the docs... 2020-07-24 23:30:54 +06:00
Temirkhan Myrzamadi
74c546ec6a Make KnownApiErrorKind public 2020-07-24 22:58:34 +06:00
Temirkhan Myrzamadi
712d76032e Fix the docs of BotBuilder 2020-07-24 22:50:13 +06:00
Temirkhan Myrzamadi
18b813c159 Unify TransitionIn with TransitionOut 2020-07-24 19:26:49 +06:00
Temirkhan Myrzamadi
602519cdab
Merge branch 'master' into rework-dialogue-bot 2020-07-24 18:26:25 +06:00
Temirkhan Myrzamadi
008e8505c5 Add BotDialogue 2020-07-24 18:05:05 +06:00
Temirkhan Myrzamadi
e14b2b9fd0 Fix compilation 2020-07-24 16:54:56 +06:00
Temirkhan Myrzamadi
5db72a26a2
Import Arc into update_listeners.rs 2020-07-24 16:38:12 +06:00
Temirkhan Myrzamadi
4a314c894d Fix rustfmt check 2020-07-24 16:31:43 +06:00
Temirkhan Myrzamadi
859f782d8b
Merge branch 'master' into fix-bot-silence 2020-07-24 16:28:29 +06:00
Temirkhan Myrzamadi
23aa260d68 Extract Bot from Arc 2020-07-17 16:04:25 +06:00
Dmytro Polunin
7ed92228a7
Merge branch 'master' into bot-builder 2020-07-16 21:57:40 +03:00
Temirkhan Myrzamadi
e996ffffb4 Forbid unsafe code 2020-07-16 21:41:14 +06:00
Temirkhan Myrzamadi
9dbff2b522 Move more settings into Bot 2020-07-16 21:04:11 +06:00
Temirkhan Myrzamadi
9eeb23ce4b Merge branch 'master' into fix-bot-silence 2020-07-16 20:16:10 +06:00
Temirkhan Myrzamadi
ca8ffba11f Fix Clippy 2020-07-16 20:02:39 +06:00
Temirkhan Myrzamadi
8990b4a785 Implement a default ParseMode 2020-07-16 19:52:40 +06:00
Temirkhan Myrzamadi
772088abd3 Document BotBuilder 2020-07-16 19:14:32 +06:00
Temirkhan Myrzamadi
5a73654e13 Deprecate Bot::{from_env_with_client, new, with_client} 2020-07-16 19:01:52 +06:00
Temirkhan Myrzamadi
f2bc67617d Add BotBuilder 2020-07-16 18:52:39 +06:00
Temirkhan Myrzamadi
a13482fc49 Fmt 2020-07-10 23:36:37 +06:00
Dmytro Polunin
2e6ca03d5c
Added Sync, Send, 'static bounds on Box<dyn Error> 2020-07-08 13:16:25 +03:00
Temirkhan Myrzamadi
981e79e1c7 Add 'Connection: keep-alive' to net::download 2020-07-08 06:21:40 +06:00
Temirkhan Myrzamadi
f5941973db Wait 10 seconds if a server error occurs 2020-07-08 06:19:47 +06:00
Temirkhan Myrzamadi
3866fd0d7e Fix bot's inability to respond in long time periods
Closes https://github.com/teloxide/teloxide/issues/223.
2020-07-08 05:52:42 +06:00
p0lunin
3fa827ab0a fixed typos 2020-07-06 16:41:02 +03:00
Dmytro Polunin
66569cafa2
Merge branch 'master' into add_string_to_api_error_kind_other 2020-07-06 16:03:25 +03:00
p0lunin
4eae781c25 fmt 2020-07-06 16:01:07 +03:00
p0lunin
2c1ba3cf91 removed ApiErrorKindKnown::Other 2020-07-06 15:59:56 +03:00
p0lunin
0393a8b53c splited ApiErrorKind at known and unknown 2020-07-06 15:54:05 +03:00
p0lunin
fe8146767e removed editor-folds 2020-07-06 15:42:07 +03:00
Temirkhan Myrzamadi
9442ee5a7f
Merge pull request #225 from teloxide/error_instead_of_unwrap
Return Result instead of unwrap() in file_to_part method
2020-07-04 23:08:43 +06:00
p0lunin
5ceeae7f07 update documentation 2020-07-04 20:02:45 +03:00
p0lunin
44584938f5 renamed RequestFile to RequestWithFile 2020-07-04 20:00:48 +03:00
Temirkhan Myrzamadi
56dadfbb34 Return Arc<RedisServer> 2020-07-04 21:02:07 +06:00
Temirkhan Myrzamadi
33910864c7
Merge branch 'master' into redis 2020-07-04 20:34:07 +06:00
p0lunin
de6280150c fmt 2020-07-04 17:29:05 +03:00
p0lunin
e1932bc68b removed unwrap() by propagate error to user code 2020-07-04 17:28:46 +03:00
p0lunin
c04032cdf0 remove add method from FormBuilder 2020-07-04 16:46:00 +03:00