Commit graph

235 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
178b56ab1c
Download reqwest from gh 2020-07-11 02:06:27 +06:00
Temirkhan Myrzamadi
d6298c2329 Temporarily use Hirrolot/redis-rs 2020-07-11 00:28:24 +06:00
Temirkhan Myrzamadi
64331f1df1 Upgrade the dependencies 2020-07-10 23:55:12 +06:00
p0lunin
8bbc3aa302 changed version of teloxide-macros 2020-07-10 13:35:18 +03:00
Temirkhan Myrzamadi
33910864c7
Merge branch 'master' into redis 2020-07-04 20:34:07 +06:00
Temirkhan Myrzamadi
01439aae37
Update Cargo.toml 2020-07-04 13:55:25 +06:00
p0lunin
58cb5ad152 added test for descriptions="off" attribute 2020-07-04 10:44:42 +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
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
Temirkhan Myrzamadi
fb6156a3b9
Merge branch 'master' into redis 2020-07-01 18:53:39 +06:00
Temirkhan Myrzamadi
0ac679c443 Remove the frunk dependency 2020-07-01 18:52:53 +06:00
p0lunin
9944524e34 added Box<dyn Error> in IncorrectFormat error 2020-06-24 19:18:12 +03:00
Temirkhan Myrzamadi
7a232a4c51
Merge branch 'master' into redis 2020-06-19 08:55:19 +03:00
p0lunin
1e71268748 fmt 2020-06-06 21:32:51 +03:00
Temirkhan Myrzamadi
963218bba0 Use a coproduct as a dialogue FSM 2020-05-24 14:19:46 +06:00
Josh Stone
b7a551a937 Upgrade tokio-util to 0.3 2020-04-29 14:30:38 -07:00
p0lunin
d5f3864921 wip 2020-04-25 20:16:27 +03:00
Maximilian Siling
798102a7d7 Add Redis storage & example bot using it 2020-04-19 18:31:23 +03:00
Temirkhan Myrzamadi
9f18045d15 Update teloxide-macros (Cargo.toml) 2020-02-25 03:24:08 +06:00
Temirkhan Myrzamadi
d5aa0f9419 Update Cargo.toml to v0.2.0 2020-02-25 03:05:15 +06:00
p0lunin
8cbe9d8aff fixed parse_command: now call parse_command_with_prefix("/", ...) 2020-02-24 16:16:07 +02:00
p0lunin
93a2376e92 remove either from dependencies 2020-02-24 16:15:26 +02:00
p0lunin
15d5a02154 added split by '@' 2020-02-20 00:10:00 +02:00
Temirkhan Myrzamadi
e245d9cb62 Fix Cargo.toml 2020-02-19 23:14:45 +06:00
Temirkhan Myrzamadi
a2a8d47943 Temporarily remove 2 contributors (Cargo.toml) 2020-02-19 23:11:36 +06:00
Temirkhan Myrzamadi
17017974e1 Fix Cargo.toml 2020-02-19 22:55:24 +06:00
Temirkhan Myrzamadi
2aca6c2011 Fix Cargo.toml 2020-02-19 22:52:18 +06:00
Temirkhan Myrzamadi
22555f367f Trying to fix Cargo.toml 2020-02-19 22:46:06 +06:00
Temirkhan Myrzamadi
a301937bf1 Fix Cargo.toml again 2020-02-19 22:42:21 +06:00
Temirkhan Myrzamadi
f9142b9e72 Fix Cargo.toml, teloxide-macros/Cargo.toml 2020-02-19 22:40:49 +06:00
Temirkhan Myrzamadi
4c3231b226 Fix the shit to eventually publish 2020-02-19 22:37:12 +06:00
Temirkhan Myrzamadi
acc7393d75 Specify the version of teloxide-macros (Cargo.toml) 2020-02-19 22:31:26 +06:00
Temirkhan Myrzamadi
444109e755 Add the authors to Cargo.toml 2020-02-19 22:05:04 +06:00
Temirkhan Myrzamadi
e91d79a5f9 Remove native-tls-vendored (Cargo.toml) 2020-02-19 05:46:54 +06:00
Temirkhan Myrzamadi
9eda683fc5 Make handlers accept streams 2020-02-18 04:19:16 +06:00
Temirkhan Myrzamadi
c648efc96c Add more info to Cargo.toml 2020-02-14 17:10:49 +06:00
Temirkhan Myrzamadi
7d142f1f06 Fix the tests 2020-02-14 14:41:03 +06:00
Temirkhan Myrzamadi
42e2f3fb42 Refactor 2020-02-13 23:23:22 +06:00
Temirkhan Myrzamadi
726a46b5ab Remove unnecessary dependencies 2020-02-13 20:21:23 +06:00
Temirkhan Myrzamadi
7a7254b8a1 Add BotBuilder 2020-02-13 20:12:24 +06:00
Temirkhan Myrzamadi
0077b99ef6
Merge branch 'dev' into useful_functions 2020-02-03 17:14:59 +06:00
Temirkhan Myrzamadi
f9d83832f3
Merge branch 'dev' into improve-requests 2020-01-24 07:16:21 +06:00
Temirkhan Myrzamadi
9cd11d02d7 Fix the docs of the rest of requests 2020-01-22 01:41:32 +06: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
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
p0lunin
c3d90abe7d added RegexFilter 2020-01-17 14:54:51 +02:00
p0lunin
d1eedece40 mime 2020-01-11 21:46:13 +02:00
Temirkhan Myrzamadi
24d76b59b3 Update the dependencies 2020-01-05 02:35:25 +06:00
Temirkhan Myrzamadi
52f1b6d8a9 Use Either instead of ErrorKind 2019-12-31 14:22:15 +06:00
Temirkhan Myrzamadi
00dc72e412
Merge pull request #100 from teloxide/new_fmt
Fixes of build on CI (fmt, never-ty)
2019-12-27 02:05:32 +06:00
Waffle
6eb91f04a8 Remove uses of ! to be compatible with rust <1.41 (in rust >=1.41 core::convert::Infallible = ! so with latest versions we will work just fine) 2019-12-26 21:50:39 +03:00
Waffle
7b3c51ff1b Rename the lib to "teloxide" 2019-12-07 22:30:15 +03:00
Waffle
fa220a6883 Add reference implementation of payloads 2019-11-05 19:32:22 +03:00
Waffle
ab9f2b99f1 Add newline at the end of the Cargo.toml 2019-11-02 17:16:54 +03:00
Waffle
5c73af4a6f Add Ignore and IgnoreSafe error policies. 2019-11-02 17:15:13 +03:00
Temirkhan Myrzamadi
8d4731d6d6 Rename the project to 'telebofr'
It means 'Telegram Bot For Rust'
2019-10-15 21:31:58 +06:00
Temirkhan Myrzamadi
4f17f23b69
Merge pull request #20 from WaffleLapkin/dispatcher
[WIP] Dispatcher impl
2019-10-15 05:38:26 +00:00
Waffle Lapkin
f8f133edea
Merge branch 'dev' into dispatcher 2019-10-15 00:24:22 +03:00
Waffle Lapkin
045dedf164
Merge branch 'dev' into remove_apply 2019-10-15 00:20:29 +03:00
Waffle
2b8ba6986c remove apply dep 2019-10-13 13:36:19 +03:00
Temirkhan Myrzamadi
9b0a059c8b Replace impl Error + derive Display with thiserror 2019-10-13 13:05:22 +06:00
Waffle
9dc9dffddb Add "unstable-stream" feature that unlocks public API that uses futures::stream::Stream 2019-10-11 15:01:58 +03:00
Temirkhan Myrzamadi
ca6b4a4628
Merge pull request #43 from async-telegram-bot/update_libs
Update libs
2019-10-10 17:31:32 +06:00
Waffle
3cf4dfeeb9 Update libs 2019-10-09 22:31:50 +03:00
Waffle
5e66c8fa22 Remove impl std::process::Termination for True 2019-10-09 21:25:54 +03:00
Waffle Lapkin
edeff3305a
Merge branch 'dev' into dispatcher 2019-10-06 11:23:52 +03:00
Waffle Lapkin
8b1a032b55
Merge branch 'dev' into unbox_send_future 2019-09-28 15:45:54 +03:00
Waffle
9ec1d10dd0 Rename Request::send -> Request::send_boxed and use async_trait instead of explicit pin-boxing 2019-09-28 14:39:04 +03:00
Waffle Lapkin
e05a008053
Merge branch 'dev' into dispatcher 2019-09-27 15:53:55 +03:00
Waffle
1ca7e7e226 Add Bot::get_updates method 2019-09-27 15:26:52 +03:00
Mr-Andersen
fc4dc06360 impl {Termination,Default,Hash,{Partial,}Ord} for True 2019-09-25 20:14:08 +03:00
Waffle Lapkin
78988205e9
Merge branch 'dev' into dispatcher 2019-09-21 01:17:25 +03:00
Waffle
f543cc371f Implement file downloading (and also add Bot::get_file) 2019-09-20 23:28:58 +03:00
Waffle
fdd79760e1 Dispatcher POC impl 2019-09-13 00:37:45 +03:00
Waffle
b0d88d69ea Move to reqwest from git (alpha.0) and tokio 0.2.0.alpha.4! 2019-09-08 01:44:55 +03:00
P0lunin
2cb6ba9e33 added .add_file() 2019-09-07 17:45:24 +03:00
Waffle
4d241131fc Make ResponseParameters more rust-friendly 2019-09-05 19:12:03 +03:00
Waffle
42c961b595 Implement request builders by hand instead of TypedBuilder 2019-09-04 11:00:15 +03:00
Waffle
57ee4e9223 requests 2019-09-02 10:39:29 +03:00
Temirkhan Myrzamadi
cd7982ec29 Create network/mod.rs 2019-09-02 12:29:04 +06:00
Temirkhan Myrzamadi
db7755d398 Implement /getMe (core/mod.rs) 2019-09-02 01:53:18 +06:00
Temirkhan Myrzamadi
5d91e28750
Temporary remove the 'authors' field (Cargo.toml) 2019-09-01 22:53:29 +06:00
Temirkhan Myrzamadi
122ed28f15 Initialise the project using Cargo 2019-09-01 22:51:07 +06:00