Commit graph

970 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
008e8505c5 Add BotDialogue 2020-07-24 18:05:05 +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
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
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
p0lunin
1e71268748 fmt 2020-06-06 21:32:51 +03:00
p0lunin
5e276d65f4 refactoring 2020-06-06 20:50:59 +03:00
p0lunin
5f27eaf6d1 fixes in tests 2020-06-06 20:45:20 +03:00
p0lunin
50b2b73f26 small fixes 2020-06-06 20:30:41 +03:00
p0lunin
7d3a0ca7eb Merge remote-tracking branch 'origin/commands' into commands
# Conflicts:
#	src/utils/command.rs
2020-06-06 20:17:07 +03:00
p0lunin
1475b62e57 moved teloxide::utils::command::tests to tests/command.rs 2020-06-06 20:14:42 +03:00
Temirkhan Myrzamadi
594d3e7d19 #[command] only after #[derive] 2020-06-05 13:12:46 +06:00
Temirkhan Myrzamadi
ae43f1f7ee Improve the docs of utils::command 2020-06-05 13:10:29 +06:00