p0lunin
|
31326b2067
|
refactoring
|
2020-01-01 20:08:10 +02:00 |
|
p0lunin
|
9b2694657e
|
updated to bot api v4.5
|
2020-01-01 20:01:40 +02:00 |
|
p0lunin
|
60532be947
|
refactoring
|
2020-01-01 20:01:26 +02:00 |
|
Waffle Lapkin
|
585c161511
|
Merge branch 'dev' into conversion_traits_for_parse_mode
|
2020-01-01 03:28:08 +03:00 |
|
Temirkhan Myrzamadi
|
e4e46d8df1
|
Fix teloxide::dispatching layout
|
2020-01-01 03:26:30 +06:00 |
|
Temirkhan Myrzamadi
|
2d5079ae37
|
Fix the links
|
2020-01-01 03:20:57 +06:00 |
|
Temirkhan Myrzamadi
|
1b89289de6
|
Fix Clippy
|
2020-01-01 01:16:47 +06:00 |
|
Temirkhan Myrzamadi
|
e4b0944160
|
Fix rustfmt again!
|
2020-01-01 00:35:44 +06:00 |
|
Temirkhan Myrzamadi
|
663e33d56b
|
Fix rustfmt
|
2020-01-01 00:15:48 +06:00 |
|
p0lunin
|
9b21b6089b
|
5
|
2019-12-31 19:59:37 +02:00 |
|
Waffle
|
49a2195df9
|
Bot API 4.5 (December 31, 2019) updates
|
2019-12-31 20:58:48 +03:00 |
|
p0lunin
|
7cf9b4ab1f
|
5
|
2019-12-31 19:43:06 +02:00 |
|
Temirkhan Myrzamadi
|
fc1184087c
|
Fix Clippy
|
2019-12-31 18:56:28 +06:00 |
|
Temirkhan Myrzamadi
|
5628f7111b
|
Fix the conflicts
|
2019-12-31 18:45:19 +06:00 |
|
Temirkhan Myrzamadi
|
b0f85dea5b
|
Fix grammatical mistakes in the docs
|
2019-12-31 17:16:01 +06:00 |
|
Temirkhan Myrzamadi
|
b97dbe0cb5
|
Add a flowchart to FilterDispatcher
|
2019-12-31 15:36:45 +06:00 |
|
Temirkhan Myrzamadi
|
6d624c59a9
|
Fix conflicts
|
2019-12-31 14:25:51 +06:00 |
|
Temirkhan Myrzamadi
|
52f1b6d8a9
|
Use Either instead of ErrorKind
|
2019-12-31 14:22:15 +06:00 |
|
Temirkhan Myrzamadi
|
43b417b9f3
|
Delete dispatching::dispatchers
|
2019-12-31 14:12:18 +06:00 |
|
Waffle
|
9ee9c24024
|
fmt 🤦
|
2019-12-30 23:41:10 +03:00 |
|
Waffle
|
be43bd6cdc
|
fix doc
|
2019-12-30 23:35:58 +03:00 |
|
Waffle
|
49771e2d89
|
Fix doc test that uses polling
|
2019-12-30 23:26:07 +03:00 |
|
Waffle
|
b8579c52d1
|
Clean polling for a bit
|
2019-12-30 23:15:52 +03:00 |
|
Temirkhan Myrzamadi
|
05f8ff13da
|
Fix error_handlers.rs
|
2019-12-31 01:42:31 +06:00 |
|
Temirkhan Myrzamadi
|
d73eecca36
|
Rename error_handler.rs -> error_handlers.rs
|
2019-12-31 01:21:50 +06:00 |
|
Temirkhan Myrzamadi
|
17f29ccb2e
|
Fix cargo fmt
|
2019-12-31 01:21:21 +06:00 |
|
Temirkhan Myrzamadi
|
0c5189a39b
|
Add #[must_use] to Handler
|
2019-12-31 01:15:58 +06:00 |
|
Temirkhan Myrzamadi
|
3b4a8d1bb5
|
Remove the unnecessary docs
|
2019-12-31 01:12:38 +06:00 |
|
Temirkhan Myrzamadi
|
fd941beec0
|
Fix Clippy
|
2019-12-31 00:55:12 +06:00 |
|
Temirkhan Myrzamadi
|
243b4c9173
|
Add error_handler::Print
|
2019-12-31 00:38:02 +06:00 |
|
Temirkhan Myrzamadi
|
3c2c1636a4
|
Fix the docs
|
2019-12-31 00:07:54 +06:00 |
|
Temirkhan Myrzamadi
|
8345936a95
|
Improve docs
|
2019-12-30 22:44:27 +06:00 |
|
Temirkhan Myrzamadi
|
d750e1c3dc
|
Fix all the errors
|
2019-12-30 22:35:22 +06:00 |
|
Temirkhan Myrzamadi
|
e815c0945d
|
Use StreamExt::for_each_concurrent
|
2019-12-30 22:02:17 +06:00 |
|
Temirkhan Myrzamadi
|
10a7bd6b55
|
Fix the compilation error
|
2019-12-30 21:58:10 +06:00 |
|
Temirkhan Myrzamadi
|
51b52b8317
|
Fix one error
|
2019-12-30 18:51:49 +06:00 |
|
Waffle Lapkin
|
8e01849fce
|
Merge pull request #106 from teloxide/skip_nones
Skip serializing nones with `#[skip_serializing_none]`
|
2019-12-30 15:12:45 +03:00 |
|
Temirkhan Myrzamadi
|
117094e9d0
|
Improve docs of FilterDispatcher
|
2019-12-30 17:27:30 +06:00 |
|
Waffle
|
7377467592
|
Skip serializing nones with #[serde_with_macros::skip_serializing_none] instead of many #[serde(skip_serializing_if = "Option::is_none")]
|
2019-12-30 13:44:22 +03:00 |
|
Temirkhan Myrzamadi
|
c51d9a0761
|
Merge pull request #103 from teloxide/vectorize_logo
Make logo svg
|
2019-12-30 16:42:39 +06:00 |
|
Temirkhan Myrzamadi
|
683d38e09a
|
Merge pull request #105 from teloxide/remove_macro_use
Remove `#[macro_use]` and use `use` instead
|
2019-12-30 16:41:44 +06:00 |
|
Temirkhan Myrzamadi
|
faf1bb5f89
|
Merge pull request #104 from teloxide/small_clippy_fixes
Small clippy fixes
|
2019-12-30 16:40:55 +06:00 |
|
Waffle Lapkin
|
2953310f13
|
Merge branch 'dev' into remove_macro_use
|
2019-12-30 13:17:30 +03:00 |
|
Waffle
|
550b28ae20
|
🤦
|
2019-12-30 13:16:23 +03:00 |
|
Waffle
|
51703b16b1
|
Remove #[macro_use] and use use instead
|
2019-12-30 13:14:19 +03:00 |
|
Waffle
|
661da5bbf4
|
Small clippy fixes
|
2019-12-30 12:29:11 +03:00 |
|
Waffle
|
374eb208c0
|
Make logo svg
|
2019-12-30 12:14:05 +03:00 |
|
Temirkhan Myrzamadi
|
410c1cc8d8
|
Refactor teloxide::dispatching
|
2019-12-30 04:46:04 +06:00 |
|
p0lunin
|
f89ad5c1df
|
4
|
2019-12-28 13:10:30 +02:00 |
|
p0lunin
|
d855d14b3c
|
3
|
2019-12-28 13:08:26 +02:00 |
|
p0lunin
|
d2aab9906c
|
2
|
2019-12-27 22:37:52 +02:00 |
|
p0lunin
|
7544bb30d9
|
1
|
2019-12-27 21:55:43 +02:00 |
|
Waffle
|
42b11f572e
|
Add \n to the end og the keyboard_button.rs file
|
2019-12-27 17:48:00 +03:00 |
|
Waffle Lapkin
|
0b475c2ad0
|
Merge branch 'dev' into keyboard_button_enum
|
2019-12-27 17:44:45 +03:00 |
|
Waffle
|
436f99e6b8
|
Replace KeyboardButton 's optional mutually exclusive fields by an enum
|
2019-12-27 17:36:03 +03:00 |
|
Temirkhan Myrzamadi
|
d7e128c493
|
Merge branch 'dev' into doc_icon
|
2019-12-27 02:21:29 +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
|
08375a3eff
|
I previous commit I accidentally run cargo +stable fmt (instead of +nightly ) and forgot std:: in one of imports. This commit fixes both problems.
|
2019-12-26 22:52:14 +03:00 |
|
Waffle
|
03967493f6
|
run rustfmt only on nightly
|
2019-12-26 22:45:34 +03:00 |
|
Waffle
|
0d1656752f
|
fmt
|
2019-12-26 22:42:58 +03: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 |
|
Temirkhan Myrzamadi
|
e2a4112bd6
|
Update lib.rs
|
2019-12-26 23:43:02 +06:00 |
|
Waffle
|
3cf3fe2acf
|
fmt
|
2019-12-16 12:40:23 +03:00 |
|
Temirkhan Myrzamadi
|
807e3dc851
|
Insert the icon into docs
|
2019-12-13 10:20:49 +06:00 |
|
Temirkhan Myrzamadi
|
2e7d1e8285
|
Fix weird formatting
|
2019-12-12 01:03:06 +06:00 |
|
Temirkhan Myrzamadi
|
d20bab850d
|
Merge branch 'doc_types' of https://github.com/teloxide/teloxide into doc_types
|
2019-12-12 00:40:46 +06:00 |
|
Temirkhan Myrzamadi
|
3d4626d2aa
|
Fix the docs of input_file.rs
|
2019-12-12 00:40:28 +06:00 |
|
Temirkhan Myrzamadi
|
6766ae3137
|
Update src/types/message.rs
Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
|
2019-12-12 00:36:36 +06:00 |
|
Temirkhan Myrzamadi
|
999928787d
|
Merge branch 'doc_types' of https://github.com/teloxide/teloxide into doc_types
|
2019-12-12 00:31:03 +06:00 |
|
Temirkhan Myrzamadi
|
a4610ce8ff
|
Use the docs of ParseMode
|
2019-12-12 00:30:13 +06:00 |
|
Temirkhan Myrzamadi
|
9e4f9e8392
|
Update src/types/message.rs
Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
|
2019-12-12 00:22:33 +06:00 |
|
Temirkhan Myrzamadi
|
082a916e40
|
Remove unnecessary 'Optional' in docs
|
2019-12-12 00:18:05 +06:00 |
|
Temirkhan Myrzamadi
|
32e970148e
|
Use the nice crate:🅰️🅱️:c syntax in docs
|
2019-12-12 00:07:50 +06:00 |
|
Temirkhan Myrzamadi
|
fc4a1dff9e
|
Fix the Clippy's warning
|
2019-12-11 22:27:42 +06:00 |
|
Temirkhan Myrzamadi
|
80fb280f2a
|
Fix the docs of the API types
|
2019-12-11 22:19:48 +06:00 |
|
Waffle
|
7b3c51ff1b
|
Rename the lib to "teloxide"
|
2019-12-07 22:30:15 +03:00 |
|
Waffle
|
a4309ef4d8
|
clippy
|
2019-12-07 19:42:36 +03:00 |
|
Waffle
|
852df2e90e
|
remove feature(never_type) since it's stable since 1.41.0 (latest nightly)
|
2019-12-07 19:17:32 +03:00 |
|
Waffle Lapkin
|
81f8ef2575
|
Merge branch 'dev' into requests_rewrite
|
2019-12-07 18:53:34 +03:00 |
|
Waffle
|
bcb11ea9a9
|
fmt
|
2019-12-07 18:51:23 +03:00 |
|
Waffle
|
0a1bc8d538
|
Implement all (I Hope) telegram methods
|
2019-12-07 18:50:35 +03:00 |
|
Waffle
|
d91430e180
|
Add come derives to some types
|
2019-12-07 15:27:29 +03:00 |
|
Waffle
|
fa099b4ca8
|
Suppress clippy
|
2019-12-07 15:26:03 +03:00 |
|
Waffle
|
648ce5c00e
|
clippy
|
2019-11-27 18:47:06 +03:00 |
|
Waffle
|
4ae4539631
|
fmt
|
2019-11-27 18:13:20 +03:00 |
|
Waffle
|
7fea75f2d7
|
fix build on the latest nightly
|
2019-11-27 18:12:32 +03:00 |
|
Waffle
|
a9c97c5074
|
remove old Request trait
|
2019-11-27 17:19:57 +03:00 |
|
Waffle
|
9b8d9eba9b
|
fmt + doc fixes
|
2019-11-27 17:07:13 +03:00 |
|
Waffle
|
ef15a4167f
|
Fix warnings: unused imports + forgotten pub on GetMe::new
|
2019-11-27 16:16:44 +03:00 |
|
Waffle
|
e673335e1f
|
Fix todo: use get_updates in polling
|
2019-11-27 16:14:37 +03:00 |
|
Waffle
|
4f77f8f371
|
Reimplement GetFile request
|
2019-11-27 16:12:27 +03:00 |
|
Waffle
|
2009e78b5f
|
Fix typo (seriosly? why haven't I built it before? no one knows)
|
2019-11-08 11:13:36 +03:00 |
|
Waffle
|
8056872c02
|
Remove "simple" request-related things
|
2019-11-08 01:52:04 +03:00 |
|
Waffle
|
a20b3f132a
|
Derive default for GetMe
|
2019-11-07 19:04:57 +03:00 |
|
Waffle
|
49cc1451d4
|
Add Bot::execute_{dyn,json,multipart,simple} methods
|
2019-11-07 01:25:07 +03:00 |
|
Waffle
|
4177d20e54
|
Derive From for ChatId again
|
2019-11-07 01:24:13 +03:00 |
|
Waffle
|
08bf30296c
|
Add InputFile::{file,url,file_id} constructors
|
2019-11-07 01:13:38 +03:00 |
|
Waffle
|
5f86362f17
|
Rename Method::METHOD => NAME , DynMethod::method => name
|
2019-11-06 23:49:56 +03:00 |
|
Waffle
|
c0953893b5
|
Add Bot::{get_updates, get_me, send_message, send_animation}
|
2019-11-05 19:45:56 +03:00 |
|
Waffle
|
fa220a6883
|
Add reference implementation of payloads
|
2019-11-05 19:32:22 +03:00 |
|
Waffle
|
7e821f2401
|
Small fixes in derived traits and docs of ChatId , ReplyMarkup and ReplyMarkup -related structs
|
2019-11-05 19:27:03 +03:00 |
|
Waffle
|
56a33df68c
|
Serialize into FormValue by ref
|
2019-11-05 19:25:57 +03:00 |
|
Waffle
|
f3d554c9a5
|
Remove derive Serialize for InputFile
|
2019-11-05 19:01:03 +03:00 |
|
Waffle
|
93344c5d06
|
Derive Deserialize and Serialize on InputFile
|
2019-11-05 18:57:30 +03:00 |
|
Waffle
|
b13472cbcd
|
Remove some commented things
|
2019-11-05 18:56:52 +03:00 |
|
Waffle
|
80ad646869
|
Move Output type and method fn from dynamic::Payload to new DynMethod trait
|
2019-11-05 18:55:13 +03:00 |
|
Waffle
|
521eef7550
|
Remove old requests
|
2019-11-05 17:10:41 +03:00 |
|
Waffle
|
be11633d6e
|
Make dynamic::Request _really_ dynamic (ooops)
|
2019-11-05 00:51:15 +03:00 |
|
Waffle
|
e2922199d4
|
Add some docs
|
2019-11-05 00:47:31 +03:00 |
|
Waffle
|
86f9e9911c
|
Add #[must_use] on requests
|
2019-11-05 00:34:48 +03:00 |
|
Waffle
|
0b750f2ac1
|
Add dynamic::{Kind, Payload, Request} (they are needed for storing _some_ request with concrete output)
|
2019-11-05 00:28:47 +03:00 |
|
Waffle
|
b788da0608
|
Move modules to files
|
2019-11-05 00:06:52 +03:00 |
|
Waffle
|
7868d9c832
|
Add simple::{Payload, Request}
|
2019-11-05 00:00:26 +03:00 |
|
Waffle
|
b02f10e73c
|
Move Output type and METHOD const from Payload s to Method trait
|
2019-11-04 23:56:54 +03:00 |
|
Waffle
|
4c2e8029a9
|
Add multipart::{Payload, Request}
|
2019-11-04 23:54:19 +03:00 |
|
Waffle
|
602d07623b
|
Add json::{Payload, Request}
|
2019-11-04 23:48:38 +03:00 |
|
Waffle
|
0a36537aa5
|
Comment all the deprecated stuff
|
2019-11-04 22:45:14 +03:00 |
|
Temirkhan Myrzamadi
|
478cde4c3f
|
Oops
|
2019-11-04 01:03:56 +06:00 |
|
Temirkhan Myrzamadi
|
f8851eabff
|
Rework HandlerAndFilter::new
|
2019-11-04 01:03:04 +06:00 |
|
Temirkhan Myrzamadi
|
60391de28a
|
Add FilterAndHandler::new
|
2019-11-03 19:33:24 +06:00 |
|
Temirkhan Myrzamadi
|
89db95ef3f
|
Simplify 'type Handlers = ...' (dispatchers/filter/mod.rs)
|
2019-11-03 19:16:38 +06:00 |
|
Temirkhan Myrzamadi
|
ce2e949cb1
|
Merge pull request #78 from telebofr/error_policy
Error policy
|
2019-11-02 14:33:07 +00:00 |
|
Waffle
|
5c73af4a6f
|
Add Ignore and IgnoreSafe error policies.
|
2019-11-02 17:15:13 +03:00 |
|
Waffle
|
4423a992c0
|
Fix indent for where
|
2019-11-02 16:50:32 +03:00 |
|
Waffle
|
3f2d049c22
|
Fix ErrorPolicy by implementing trait on all Fn() -> Fut by-hands (and some related small fixes)
|
2019-11-02 15:55:54 +03:00 |
|
Waffle Lapkin
|
31c9a44276
|
Merge branch 'dev' into cows_for_form_builder
|
2019-11-02 02:12:34 +03:00 |
|
Waffle
|
5b0f8e8c0e
|
little simplification/optimization (use Cow in FormBuilder
)
|
2019-11-02 02:10:39 +03:00 |
|
Temirkhan Myrzamadi
|
a537830472
|
An another try to implement ErrorPolicy for FnMut
|
2019-11-01 22:09:27 +06:00 |
|
Temirkhan Myrzamadi
|
1d9c42c309
|
Fix
|
2019-11-01 21:51:09 +06:00 |
|
Temirkhan Myrzamadi
|
65e003120d
|
Add comments (error_policy.rs)
|
2019-10-31 15:50:36 +06:00 |
|
Temirkhan Myrzamadi
|
a2eda602c0
|
A erroneous implementation of trait ErrorPolicy
|
2019-10-31 15:42:18 +06:00 |
|
Temirkhan Myrzamadi
|
04dd861f51
|
Fmt
|
2019-10-29 01:28:38 +06:00 |
|
P0lunin
|
262031cd81
|
moved filters from ..\dispatching\dispatchers\filter\ to ..\dispatching\
|
2019-10-25 18:16:10 +03:00 |
|
P0lunin
|
0add325e31
|
optimized tests
|
2019-10-25 18:09:56 +03:00 |
|
P0lunin
|
9feaf63362
|
added MessageTextCaptionFilter
|
2019-10-23 19:28:01 +03:00 |
|
P0lunin
|
053a946a34
|
added docs
|
2019-10-23 19:21:48 +03:00 |
|
P0lunin
|
e2cd5a8440
|
added generics into functions
|
2019-10-23 18:46:04 +03:00 |
|
P0lunin
|
f67011eb42
|
added CommandFilter
|
2019-10-23 18:36:53 +03:00 |
|
P0lunin
|
720a34932f
|
divided TextFilter into MessageTextFilter and MessageCaptionFilter
|
2019-10-23 18:36:37 +03:00 |
|
P0lunin
|
03b0e41fa0
|
added test caption
|
2019-10-23 12:59:58 +03:00 |
|
P0lunin
|
ec11b9ed3a
|
add MessageTextFilter
|
2019-10-23 12:56:44 +03:00 |
|
Temirkhan Myrzamadi
|
37ab5e049a
|
Fmt
|
2019-10-22 17:02:43 +06:00 |
|
P0lunin
|
65320feaf0
|
Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
# src/dispatching/dispatchers/filter/mod.rs
|
2019-10-21 13:32:38 +03:00 |
|
P0lunin
|
b2a88e51eb
|
replaced macro call! to function handle()
|
2019-10-21 13:30:17 +03:00 |
|
Temirkhan Myrzamadi
|
c611fce15b
|
Fix
|
2019-10-20 23:21:47 +06:00 |
|
Temirkhan Myrzamadi
|
ecf2aec396
|
Fix all the errors
|
2019-10-20 23:06:12 +06:00 |
|
Temirkhan Myrzamadi
|
7268c39c88
|
Create dispatching.dispatchers
|
2019-10-20 22:53:33 +06:00 |
|
Temirkhan Myrzamadi
|
2bd8734482
|
Rename 'dispatcher' to 'dispatching'
|
2019-10-20 22:52:48 +06:00 |
|
Temirkhan Myrzamadi
|
e9f68c67e9
|
Rename dispatcher.simple to dispatcher.filter
|
2019-10-20 22:50:59 +06:00 |
|
Temirkhan Myrzamadi
|
089ff82b2d
|
Rename Dispatcher to FilterDispatcher
Related to https://github.com/telebofr/telebofr/issues/59.
|
2019-10-20 22:48:05 +06:00 |
|