Commit graph

978 commits

Author SHA1 Message Date
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
Temirkhan Myrzamadi
5f9e0b46b2 Fix impl Error for ParseError 2020-07-04 00:33:35 +06:00
p0lunin
82439c2a4c added impl Display, Error for ParseError 2020-07-03 21:20:33 +03:00
p0lunin
5216347ece fixed wrong documentation 2020-07-03 20:31:39 +03:00
p0lunin
93ebcc083d fmt 2020-07-03 20:17:20 +03:00
p0lunin
0345d85cb8 remove unnecessary attributes 2020-07-03 20:15:55 +03:00
p0lunin
4ceb1253dd Merge branch 'master' of https://github.com/teloxide/teloxide into commands
 Conflicts:
	examples/admin_bot/src/main.rs
	examples/simple_commands_bot/src/main.rs
	src/dispatching/dispatcher_handler_rx_ext.rs
2020-07-03 20:11:25 +03:00
Temirkhan Myrzamadi
177656c00c Document RedisStorage 2020-07-01 20:58:06 +06:00
Temirkhan Myrzamadi
fb6156a3b9
Merge branch 'master' into redis 2020-07-01 18:53:39 +06:00
Temirkhan Myrzamadi
0ac679c443 Remove the frunk dependency 2020-07-01 18:52:53 +06:00
Temirkhan Myrzamadi
ee9166999a Remove a redundant import 2020-06-26 18:47:42 +06:00
Temirkhan Myrzamadi
37a0ac8ef8
Merge branch 'master' into redis 2020-06-26 18:42:17 +06:00
Temirkhan Myrzamadi
9cab81b8bf Fix the docs 2020-06-26 18:33:40 +06:00
Temirkhan Myrzamadi
eabc77caab Remove wrap_dialogue! 2020-06-26 18:18:31 +06:00
p0lunin
b9cb494797 drowned out clippy 2020-06-24 20:54:41 +03:00
p0lunin
9944524e34 added Box<dyn Error> in IncorrectFormat error 2020-06-24 19:18:12 +03:00
Temirkhan Myrzamadi
7a232a4c51
Merge branch 'master' into redis 2020-06-19 08:55:19 +03:00
Temirkhan Myrzamadi
e47a73088d
Add a comment about tests (src/utils/command.rs) 2020-06-07 15:39:12 +06:00