p0lunin
|
21328c152c
|
Merge remote-tracking branch 'origin/rework-dispatching' into rework-dispatching
# Conflicts:
# src/dispatching/dispatcher_handler_ctx.rs
|
2020-02-04 20:19:10 +02:00 |
|
p0lunin
|
327be5811c
|
added functions into DispatcherHandlerCtx<Message>
|
2020-02-04 20:17:07 +02:00 |
|
Temirkhan Myrzamadi
|
32f44f83ab
|
A quick fix
|
2020-02-04 21:39:42 +06:00 |
|
Temirkhan Myrzamadi
|
17de4840d7
|
Refactor
|
2020-02-04 21:38:25 +06:00 |
|
p0lunin
|
5e8a698d22
|
Merge branch 'dev' of https://github.com/teloxide/teloxide into rework-dispatching
Conflicts:
src/utils/mod.rs
|
2020-02-04 14:22:30 +02:00 |
|
p0lunin
|
ca360aa1f4
|
added functions to DispatcherHandlerCtx
|
2020-02-03 15:26:09 +02:00 |
|
Temirkhan Myrzamadi
|
0077b99ef6
|
Merge branch 'dev' into useful_functions
|
2020-02-03 17:14:59 +06:00 |
|
Temirkhan Myrzamadi
|
cea09a030a
|
Fix the docs
|
2020-02-03 17:13:26 +06:00 |
|
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
|
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
|
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
|
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 |
|
p0lunin
|
0654bbc82d
|
now rename in variant overlap rename in enum
|
2020-01-25 22:47:31 +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
|
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 |
|
Temirkhan Myrzamadi
|
f9d83832f3
|
Merge branch 'dev' into improve-requests
|
2020-01-24 07:16:21 +06:00 |
|
Temirkhan Myrzamadi
|
a8e1dac7bb
|
Add docs to Bot
|
2020-01-24 07:12:01 +06:00 |
|
p0lunin
|
34e1e69e77
|
refactor teloxide-macros, and added attributes prefix and description
|
2020-01-23 23:20:59 +02:00 |
|
p0lunin
|
8c2b0b6c70
|
fmt another
|
2020-01-23 23:19:54 +02:00 |
|
Temirkhan Myrzamadi
|
0232108822
|
Don't clone a bot while cloning a request
|
2020-01-24 01:24:09 +06:00 |
|
Temirkhan Myrzamadi
|
b27138163c
|
Rename 'network' to 'net'
Like std::net
|
2020-01-22 07:04:17 +06:00 |
|
Temirkhan Myrzamadi
|
05c27aa9d0
|
Fix rustfmt
|
2020-01-22 01:56:00 +06:00 |
|
Temirkhan Myrzamadi
|
6c1a39570c
|
Fix Clippy
|
2020-01-22 01:54:05 +06:00 |
|
Temirkhan Myrzamadi
|
6a1d715a69
|
Small fixes
|
2020-01-22 01:51:24 +06:00 |
|
Temirkhan Myrzamadi
|
9cd11d02d7
|
Fix the docs of the rest of requests
|
2020-01-22 01:41:32 +06:00 |
|
p0lunin
|
841f80ea78
|
merge from dev
|
2020-01-21 10:44:41 +02:00 |
|
p0lunin
|
f6777f80a9
|
Merge branch 'dev' of https://github.com/teloxide/teloxide into filters
Conflicts:
src/dispatching/mod.rs
|
2020-01-21 10:43:10 +02:00 |
|
p0lunin
|
9c020a23cb
|
remove feature regex-filter
|
2020-01-21 10:42:43 +02:00 |
|
p0lunin
|
4db07fc189
|
delete filters
|
2020-01-21 10:41:10 +02:00 |
|
Temirkhan Myrzamadi
|
81167ff44d
|
Fix the docs of several requests
|
2020-01-21 01:03:03 +06:00 |
|
p0lunin
|
1aae70048e
|
added is_{private, group, supergroup, channel, chat} for type Chat
|
2020-01-19 16:05:45 +02:00 |
|
p0lunin
|
50c29227ce
|
Merge branch 'dev' of https://github.com/teloxide/teloxide into useful_functions
|
2020-01-19 15:50:25 +02:00 |
|
p0lunin
|
5f34d7ffc6
|
changed name of trait from TelegramCommandEnum to TelegramBotCommand and divided parse_command into parse_command and parse_command_with_prefix
|
2020-01-19 15:48:02 +02:00 |
|
p0lunin
|
4af7b9f1f0
|
Fix bug with last_name, now between first_name and last_name is space
|
2020-01-19 15:46:11 +02:00 |
|
p0lunin
|
db5145911b
|
added parse_command, TelegramCommandEnum trait, parse_command_into_enum
|
2020-01-18 15:14:31 +02:00 |
|
Temirkhan Myrzamadi
|
e3235adf2f
|
Fix UpdateKind
|
2020-01-18 05:40:01 +06:00 |
|
Temirkhan Myrzamadi
|
9712366d4a
|
Merge branch 'dev' of https://github.com/teloxide/teloxide into dev
|
2020-01-17 20:57:53 +06:00 |
|
Temirkhan Myrzamadi
|
3b6dbecd11
|
Fix conflicts
|
2020-01-17 20:57:26 +06:00 |
|
Temirkhan Myrzamadi
|
c0f83a4999
|
Fmt
|
2020-01-17 20:19:13 +06:00 |
|
p0lunin
|
583d021be7
|
update docs for CommandFilter
|
2020-01-17 15:36:22 +02:00 |
|
p0lunin
|
eb430b0487
|
docs for CommandFilter
|
2020-01-17 15:35:30 +02:00 |
|
p0lunin
|
c3c9b92f87
|
change position of arguments to more readable
|
2020-01-17 15:35:07 +02:00 |
|
p0lunin
|
5f16c7b9ff
|
fmt
|
2020-01-17 15:24:54 +02:00 |
|
p0lunin
|
3e983a804c
|
fix wrong return type RegexFilter::test
|
2020-01-17 15:24:29 +02:00 |
|
p0lunin
|
c3d90abe7d
|
added RegexFilter
|
2020-01-17 14:54:51 +02:00 |
|
p0lunin
|
2bd67ff0b3
|
fixed command_filter
|
2020-01-16 13:02:53 +02:00 |
|
p0lunin
|
6a6e49d60a
|
added method user_mention_or_link
|
2020-01-16 12:25:52 +02:00 |
|
p0lunin
|
c94c502ddd
|
removed unused imports
|
2020-01-16 12:25:33 +02:00 |
|
Temirkhan Myrzamadi
|
dedc861523
|
Implement chat::Dispatcher
|
2020-01-15 03:46:22 +06:00 |
|
p0lunin
|
52d47f54be
|
functions for Message and User
|
2020-01-14 22:03:34 +02:00 |
|
p0lunin
|
1ec4e2d400
|
fixes
|
2020-01-14 21:17:02 +02:00 |
|
p0lunin
|
7755e09122
|
remove .to_string()
|
2020-01-14 20:58:38 +02:00 |
|
p0lunin
|
814a424caa
|
make method text_from public
|
2020-01-13 13:07:19 +02:00 |
|
p0lunin
|
5cb48d8a3f
|
add method text_from
|
2020-01-12 21:23:04 +02:00 |
|
Temirkhan Myrzamadi
|
214969685a
|
Merge pull request #136 from teloxide/passport-errors
Add passport_element_error.rs
|
2020-01-12 23:01:21 +06:00 |
|
Temirkhan Myrzamadi
|
60d84b817c
|
Add passport_element_error.rs
|
2020-01-12 21:44:54 +06:00 |
|
Temirkhan Myrzamadi
|
7e02337ebe
|
Merge pull request #135 from teloxide/checked_types
Checked types
|
2020-01-12 02:35:03 +06:00 |
|
p0lunin
|
629fcaf564
|
fmt
|
2020-01-11 21:47:59 +02:00 |
|
p0lunin
|
1d6803a65f
|
fix
|
2020-01-11 21:46:30 +02:00 |
|
p0lunin
|
d1eedece40
|
mime
|
2020-01-11 21:46:13 +02:00 |
|
Temirkhan Myrzamadi
|
fbc6b57e2b
|
Replace ” with `
|
2020-01-12 01:17:49 +06:00 |
|
p0lunin
|
d312a24f12
|
use serde::{Serialize, Deserialize}
|
2020-01-11 21:00:52 +02:00 |
|
p0lunin
|
7c82f7e423
|
update test
|
2020-01-11 20:58:43 +02:00 |
|
p0lunin
|
d50e47ecd2
|
languageCode
|
2020-01-11 20:56:49 +02:00 |
|
p0lunin
|
3e0b647658
|
CountryCode
|
2020-01-11 20:48:28 +02:00 |
|
Temirkhan Myrzamadi
|
5fd6ae3630
|
Fix the docs
|
2020-01-11 21:04:57 +06:00 |
|
Sergey Levitin
|
1ac66eed9e
|
Merge branch 'dev' of github.com:teloxide/teloxide into session-dispatcher
|
2020-01-11 16:06:57 +03:00 |
|
Temirkhan Myrzamadi
|
d247320a76
|
Update the docs
|
2020-01-10 20:49:17 +06:00 |
|