Commit graph

1026 commits

Author SHA1 Message Date
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
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