Commit graph

252 commits

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