Maybe Waffle
|
8002f98ef7
|
Add TBA 5.4 types
|
2021-11-15 01:46:53 +03:00 |
|
Maybe Waffle
|
094211e6a1
|
Add TBA v5.4 methods and params
(schema update)
|
2021-11-15 01:46:53 +03:00 |
|
Maybe Waffle
|
9fb6c20f23
|
Make SendPoll::type_ optional
(fix from schema)
|
2021-11-15 01:46:53 +03:00 |
|
Maybe Waffle
|
9bcdd37be0
|
Remove PartialEq, Eq, Hash derives from InputFile
...and tg-method-structs holding it
|
2021-11-15 01:46:53 +03:00 |
|
Maybe Waffle
|
af54d6db7a
|
Fix conflict between PRs 134 and 135
|
2021-11-13 20:16:13 +03:00 |
|
Hirrolot
|
461d882bc1
|
Merge pull request #134 from teloxide/errfactor
Refactor errors
|
2021-11-13 19:09:22 +06:00 |
|
Maybe Waffle
|
8d1dd8d444
|
Add ApiError::TooMuchInlineQueryResults
|
2021-11-09 21:16:56 +03:00 |
|
Maybe Waffle
|
27e1b90c6e
|
Refactor errors
|
2021-11-08 00:02:17 +03:00 |
|
Waffle Maybe
|
00abf2fd80
|
Merge pull request #131 from berkus/fix/add-derive-debug
fix: Add missing derive(Debug) on adapters
|
2021-11-07 13:27:13 +03:00 |
|
Berkus Decker
|
f868152e2f
|
fix: Add missing derive(Debug) on adapters
|
2021-11-07 12:22:05 +02:00 |
|
Waffle Maybe
|
839181bffd
|
Merge pull request #127 from teloxide/must_use_requests
Add `#[must_use]` attrs to payload setters, request wrappers and send* methods
|
2021-10-24 23:10:25 +03:00 |
|
Hirrolot
|
8ee25a616c
|
Merge pull request #128 from teloxide/inline_methods_fix
Fix `*_inline` methods (release v0.3.4)
|
2021-10-18 18:04:13 +06:00 |
|
Maybe Waffle
|
bd8bafd03b
|
Fix *_inline methods (release v0.3.4)
|
2021-10-18 13:47:02 +03:00 |
|
Maybe Waffle
|
73235682a3
|
Add #[must_use] attrs to payload setters, request wrappers and send* methods
|
2021-10-15 19:07:41 +03:00 |
|
Waffle Maybe
|
6e6cabb5b7
|
Merge pull request #126 from teloxide/imply_doc_cfg
Remove explicit `doc(cfg)` as it's now implied
|
2021-10-11 17:26:29 +03:00 |
|
Waffle Maybe
|
2ceb2c5782
|
Merge pull request #125 from teloxide/api_error_non_exhaustive
Mark `ApiError` as `non_exhaustive`
|
2021-10-11 17:26:04 +03:00 |
|
Maybe Waffle
|
62d21d1c58
|
Remove explicit doc(cfg) as it's now implied
|
2021-10-11 16:58:15 +03:00 |
|
Maybe Waffle
|
25db4901e2
|
Mark ApiError as non_exhaustive
|
2021-10-10 16:40:31 +03:00 |
|
Maybe Waffle
|
037e0eaf41
|
Add some sticker errors
|
2021-10-10 16:33:40 +03:00 |
|
Maybe Waffle
|
d3be288eba
|
Add NotEnoughRightsToPostMessages error
|
2021-10-10 14:59:06 +03:00 |
|
Waffle
|
00b83770a7
|
Throttle: correct limits for channels
This commits adds `Limits::messages_per_min_channel` field
|
2021-09-16 02:51:28 +03:00 |
|
Waffle
|
86a478dd1d
|
Throttle: fix limit check
Previously both `messages_per_sec_chat` and `messages_per_min_chat` were
checked against last second message count.
|
2021-09-16 00:04:01 +03:00 |
|
Andrew
|
602c573b92
|
Fix type of Poll::open_period field: i32 => u16
|
2021-09-07 15:35:07 +05:00 |
|
Andrew
|
6d4ad2932c
|
Fix type of Poll::correct_option_id field: i32 => u8
|
2021-09-07 15:32:00 +05:00 |
|
Waffle
|
842315150b
|
Add UntilDate enum and use it for {Restricted, Banned}::until_date
|
2021-09-02 18:14:54 +03:00 |
|
Waffle
|
0e55b41961
|
Patch BanChatMember::until_date : u64 -> DateTime<Utc>
|
2021-09-02 17:18:27 +03:00 |
|
Hirrolot
|
3d7ca29681
|
Merge pull request #115 from teloxide/make_urls_urlier
Use `url::Url` for urls, use `chrono::DateTime<Utc>` for dates in types
|
2021-08-31 07:50:38 -07:00 |
|
Hirrolot
|
16a3ba3349
|
Merge pull request #113 from teloxide/dont_reparse_url_on_every_request
Do not re-parse default tba url on every request
|
2021-08-31 07:50:21 -07:00 |
|
Waffle
|
d3bf4499ea
|
Use url::Url for urls, use chrono::DateTime<Utc> for dates in types
|
2021-08-31 17:45:20 +03:00 |
|
hex0x0000
|
2c53236af4
|
Fixed url formatting and a typo
Fixed formatting
Merging suggestion
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
Fixed other typos
|
2021-08-28 14:36:31 +02:00 |
|
Waffle
|
a422f97480
|
Do not re-parse default tba url on every request
|
2021-08-28 14:54:40 +03:00 |
|
Hirrolot
|
261be16b47
|
Merge pull request #106 from teloxide/use_tokio_task_unconstrained
Use `tokio::task::unconstrained` when using `.now_or_never()` to prevent some problems I guess
|
2021-08-22 01:55:23 -07:00 |
|
Waffle
|
2417b636a6
|
Add EditedMessageIsTooLong error
|
2021-08-21 23:59:59 +03:00 |
|
Waffle
|
5349c85404
|
Fix compilation with nigthly feature
The `min_type_alias_impl_trait` feature was removed in faviour of `type_alias_impl_trait`.
|
2021-08-03 02:29:26 +03:00 |
|
Waffle
|
0471cb0322
|
Use tokio::task::unconstrained when using .now_or_never() to prevent some problems I guess
The issue in fixme says to use `tokio::task::unconstrained`.
|
2021-07-23 20:08:26 +03:00 |
|
Waffle
|
2abd9b17a6
|
Fix typo in docs
|
2021-07-16 22:41:50 +03:00 |
|
Waffle
|
4ccedd7f77
|
suppress clippy
|
2021-07-12 17:07:20 +03:00 |
|
Waffle
|
1fe4518ee9
|
Add tools for Bot/Request type erasure
|
2021-07-12 16:58:51 +03:00 |
|
Waffle
|
33236f79e6
|
Document trace_adaptor feature
|
2021-07-11 15:58:09 +03:00 |
|
Waffle
|
9e8819d726
|
Add Trace bot adaptor
|
2021-07-10 17:41:20 +03:00 |
|
Waffle
|
5aa622b361
|
impl HasPayload , Request and Requester for either::Either
This allows to use different adaptors depending on runtime context.
|
2021-07-08 13:04:40 +03:00 |
|
Waffle
|
23c125775c
|
Remove Self: 'static buound on RequesterExt::throttle
|
2021-07-07 20:14:27 +03:00 |
|
Waffle
|
e7b44e6bbe
|
Use cfg(dep_docsrs) to allow building docs properly as a dependency
|
2021-07-07 20:14:25 +03:00 |
|
Waffle
|
df69d07f2b
|
Bump version (0.2.2 => 0.3.0)
|
2021-07-04 17:36:07 +03:00 |
|
Waffle
|
5ac43d4ac0
|
Fix type of PhotoSize::{width,height} fields: i32 => u32
|
2021-07-04 17:36:07 +03:00 |
|
Waffle
|
44c1cfd420
|
Remove keyboad method (typo, was fixed to keyboard in 0.2.2)
|
2021-07-04 17:36:07 +03:00 |
|
Waffle
|
e6b66a7383
|
TBA 5.3: update changelog and supported version
|
2021-07-04 16:06:06 +03:00 |
|
Waffle
|
120ed97e8c
|
TBA 5.3: Update methods
|
2021-07-04 16:06:06 +03:00 |
|
Waffle
|
27f5875b42
|
TBA 5.3: Add BotCommandScope
|
2021-07-04 16:06:06 +03:00 |
|
Waffle
|
ef84162314
|
Use DateTime<Utc> for until_date in ChatMember
|
2021-07-04 16:06:06 +03:00 |
|