Commit graph

996 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
7e34007a4d Divide AsyncHandler into different traits 2020-02-03 16:25:05 +06:00
Temirkhan Myrzamadi
ee3a95b31e Yet another fix 2020-02-03 03:15:55 +06:00
Temirkhan Myrzamadi
16aca0f0f8 Quick fix of the docs 2020-02-03 03:06:31 +06:00
Temirkhan Myrzamadi
a7dee4cab5 Improve the docs of teloxide::dispatching 2020-02-03 03:03:28 +06:00
Temirkhan Myrzamadi
32cab96af5 Fix the docs 2020-02-03 01:42:32 +06:00
Temirkhan Myrzamadi
b7b6cd988c Reduce the Dispatcher::dispatch_with_listener complexity 2020-02-03 01:32:01 +06:00
p0lunin
5dafe892ac added function handle<T> in dispatcher 2020-02-02 21:22:58 +02:00
Temirkhan Myrzamadi
32d607daa9 Fix ping-pong-bot 2020-02-03 01:12:36 +06:00
Temirkhan Myrzamadi
2c4102e2b3 Simplify building ReplyKeyboardMarkup 2020-02-03 00:54:11 +06:00
Temirkhan Myrzamadi
f436a0269b Add lto=true to ping_pong_bot for releases 2020-02-02 22:44:48 +06:00
Temirkhan Myrzamadi
61d002b8d4 Refactor 2020-02-02 22:32:27 +06:00
Temirkhan Myrzamadi
d7d97ef136 Fix the docs 2020-02-02 22:03:18 +06:00
Temirkhan Myrzamadi
43a0a81d78 Rename handler.rs -> async_handler.rs 2020-02-02 21:16:23 +06:00
p0lunin
b0b9ad6204 deleted IDE files 2020-02-01 21:42:25 +02:00
p0lunin
8b90581927 added documentation 2020-02-01 21:40:17 +02:00
p0lunin
0308f8950a add #[command(description = "")] for enums 2020-02-01 21:36:56 +02:00
p0lunin
4d4970f450 fix compilation error 2020-02-01 21:07:13 +02:00
Temirkhan Myrzamadi
603640c5c0 Simplify simple_fsm 2020-02-01 10:05:18 +06:00
Temirkhan Myrzamadi
1a6297747c Add examples/simple_fsm 2020-01-30 04:54:40 +06:00
Temirkhan Myrzamadi
c98b53b9a8 Impl AsyncHandler for SessionDispatcher 2020-01-30 01:10:02 +06:00
Temirkhan Myrzamadi
6d737dabb4 Remove the actual token 2020-01-30 00:14:30 +06:00
Temirkhan Myrzamadi
1d6a21acb0 Add teloxide::prelude 2020-01-30 00:11:52 +06:00
Temirkhan Myrzamadi
6f2abd10ef Finally fix the error 2020-01-29 23:43:47 +06:00
p0lunin
92ccb49216 Merge remote-tracking branch 'origin/useful_functions' into useful_functions 2020-01-29 19:26:13 +02:00
p0lunin
1cec80bf9d add Update::user(), Update::chat() functions 2020-01-29 19:25:56 +02:00
Temirkhan Myrzamadi
27ae3e13cf Trying to fix ping_pong_bot.rs 2020-01-29 21:08:18 +06:00
Temirkhan Myrzamadi
3bad400c03 Fix the error 2020-01-29 20:48:57 +06:00
Temirkhan Myrzamadi
84d4e6fb2c Rework teloxide::dispatching (fails now) 2020-01-29 10:47:17 +06:00
Temirkhan Myrzamadi
017a0d3169 Remove parse_command_into_enum and fix the docs 2020-01-28 08:34:10 +06:00
Temirkhan Myrzamadi
9971659e03 Merge branch 'useful_functions' of https://github.com/teloxide/teloxide into useful_functions 2020-01-28 08:26:00 +06:00
p0lunin
2028ce70c7 add BotCommand::parse(s: &str) 2020-01-26 23:13:29 +02:00
Temirkhan Myrzamadi
b71088746c Bullshit 2020-01-26 04:18:13 +06:00
Temirkhan Myrzamadi
004d5bdaf5 Fix the docs (utils/parsers.rs) 2020-01-26 04:14:47 +06:00
p0lunin
77487c07dd fix clippy errors 2020-01-25 23:34:17 +02:00
Temirkhan Myrzamadi
e2619d778c
Merge pull request #92 from teloxide/code_style
Create CODE_STYLE.md
2020-01-26 03:17:11 +06:00
p0lunin
c5169038d9 fixed compilation errors and warnings 2020-01-25 22:56:09 +02:00
p0lunin
0654bbc82d now rename in variant overlap rename in enum 2020-01-25 22:47:31 +02:00
Temirkhan Myrzamadi
adb6ad4319
Update CODE_STYLE.md 2020-01-25 04:59:37 +06:00
Temirkhan Myrzamadi
499e63ef06
Update CODE_STYLE.md 2020-01-25 04:48:02 +06:00
Temirkhan Myrzamadi
e473d58770
Update CODE_STYLE.md 2020-01-25 04:47:47 +06:00
Temirkhan Myrzamadi
2f086daf8e
Update CODE_STYLE.md 2020-01-25 04:29:55 +06:00
p0lunin
84af1ab0e1
Merge pull request #144 from teloxide/improve-requests
Improve requests
2020-01-24 22:13:38 +02:00
Temirkhan Myrzamadi
9ae647f6f9 Merge branch 'improve-requests' of https://github.com/teloxide/teloxide into improve-requests 2020-01-25 01:00:17 +06:00
Temirkhan Myrzamadi
47bbd9675e Compare tokens in BotWrapper::eq 2020-01-25 00:59:49 +06:00
Temirkhan Myrzamadi
e17a4cedd0 Move BotWrapper into bot_wrapper.rs 2020-01-25 00:58:36 +06:00
p0lunin
d490ed9bc0 replace return type in url() function to Url from String 2020-01-24 20:12:23 +02:00
p0lunin
7488f96d02 simplify parse string literal 2020-01-24 19:50:16 +02:00
p0lunin
9cefbca3f0 rename TelegramBotCommand to BotCommand 2020-01-24 19:47:10 +02:00
p0lunin
04852ddd22 add attributes for enums 2020-01-24 19:44:20 +02:00
p0lunin
73be83a5b1 add support for many arguments in one attribute like #[command(attr1 = "value1", attr2 = "value2")] 2020-01-24 11:55:20 +02:00