Commit graph

1109 commits

Author SHA1 Message Date
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
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
6d78593cc5
Merge pull request #140 from teloxide/filters
Filters
2020-01-22 02:03:45 +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
Temirkhan Myrzamadi
032de7bc67
Merge pull request #142 from teloxide/fix-example
Return examples/ping_pong_bot.rs back
2020-01-19 20:02:17 +06:00
Temirkhan Myrzamadi
adbd17efaf Fix Clippy 2020-01-19 19:54:45 +06: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
Temirkhan Myrzamadi
2b77087aac Return examples/ping_pong_bot.rs back 2020-01-19 19:45:48 +06:00
p0lunin
db5145911b added parse_command, TelegramCommandEnum trait, parse_command_into_enum 2020-01-18 15:14:31 +02:00
Temirkhan Myrzamadi
1821e1f703
Merge pull request #141 from teloxide/fix-update-kind
Fix UpdateKind
2020-01-18 05:47:04 +06: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
Temirkhan Myrzamadi
510e5d8630 Temporary remove examples/ because of strange errors 2020-01-17 20:13:53 +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