Commit graph

1748 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
53625c9441 Merge branch 'master' of https://github.com/teloxide/teloxide 2020-07-08 15:08:18 +06: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
Temirkhan Myrzamadi
fdfb95d0c7 Update README.md 2020-07-08 05:35:45 +06:00
Temirkhan Myrzamadi
31ac9bd984 Show strongly typed behaviour in examples/simple_commands_bot 2020-07-07 01:20:09 +06:00
Temirkhan Myrzamadi
2ffa41efc8
Merge pull request #226 from teloxide/add_string_to_api_error_kind_other
Add string to ApiErrorKind::Other
2020-07-06 19:45:56 +06:00
p0lunin
3fa827ab0a fixed typos 2020-07-06 16:41:02 +03:00
p0lunin
0ba4db26e5 changelog 2020-07-06 16:05:53 +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
a3fd06d966
Update README.md 2020-07-04 21:28:35 +06:00
Temirkhan Myrzamadi
26557eed8c
Update README.md 2020-07-04 21:27:55 +06:00
Temirkhan Myrzamadi
a68b25a1e1
Update README.md 2020-07-04 21:27:08 +06:00
Temirkhan Myrzamadi
d7929d6fe0
Shorten README.md a little bit 2020-07-04 21:26:26 +06:00
Temirkhan Myrzamadi
bcca608c9d
Update README.md 2020-07-04 21:24:50 +06:00
Temirkhan Myrzamadi
b70b92885d
Merge pull request #202 from teloxide/redis
Add Redis storage
2020-07-04 21:17:56 +06:00
Temirkhan Myrzamadi
2f3652c16e
Update ci.yml 2020-07-04 21:13:09 +06:00
Temirkhan Myrzamadi
bbe3a86c84
Update ci.yml 2020-07-04 21:07:50 +06:00
Temirkhan Myrzamadi
56dadfbb34 Return Arc<RedisServer> 2020-07-04 21:02:07 +06:00
Temirkhan Myrzamadi
82ade822cf
Open redis at 7777, 7778, 7779 ports (CI) 2020-07-04 20:59:58 +06:00
Temirkhan Myrzamadi
9eee923aad Open separate connections to redis during testing 2020-07-04 20:54:47 +06:00
p0lunin
336dc0b98a Merge remote-tracking branch 'origin/error_instead_of_unwrap' into error_instead_of_unwrap 2020-07-04 17:50:30 +03:00
p0lunin
c7dbc869ba added changelog 2020-07-04 17:50:20 +03:00
Dmytro Polunin
607d2b2d68
Merge branch 'master' into error_instead_of_unwrap 2020-07-04 17:40:02 +03: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
Temirkhan Myrzamadi
56bcaa7a46
Update README.md 2020-07-04 19:52:16 +06:00
Temirkhan Myrzamadi
26092cb4ef
Oops, correct README.md 2020-07-04 19:51:45 +06:00
p0lunin
c04032cdf0 remove add method from FormBuilder 2020-07-04 16:46:00 +03:00
Temirkhan Myrzamadi
50dca962ab
Update the features (README.md) 2020-07-04 19:45:19 +06:00
Temirkhan Myrzamadi
01439aae37
Update Cargo.toml 2020-07-04 13:55:25 +06:00
Temirkhan Myrzamadi
1452f2d424
Merge pull request #224 from teloxide/descriptions_off
Added option to hide command from BotCommand::descriptions list
2020-07-04 13:53:47 +06:00
p0lunin
030a349f60 fmt 2020-07-04 10:47:46 +03:00
p0lunin
58cb5ad152 added test for descriptions="off" attribute 2020-07-04 10:44:42 +03:00
Temirkhan Myrzamadi
96a92b6ec2
Merge pull request #205 from teloxide/commands
Implement typed commands
2020-07-04 00:39:35 +06: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
c16c316679 changed source of macros from dev branch to 0.3.0 version 2020-07-03 21:11:32 +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