Commit graph

456 commits

Author SHA1 Message Date
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
Waffle Lapkin
f7faf737da
Remove square brackets from changelog (2) 2021-08-31 18:39:02 +03:00
Waffle Lapkin
17fa764f11
Remove square brackets from changelog 2021-08-31 18:36:20 +03:00
Waffle Lapkin
35bfdd2c72
Fix date of the 0.3.3 release in changelog 2021-08-31 17:59:49 +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
Waffle Lapkin
989eb4d9b6
Merge pull request #114 from hex0x0000/master
Fixed url formatting for private groups and some typos
2021-08-28 16:40:35 +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
Waffle Lapkin
64681ffb49
Merge pull request #112 from Kezii/patch-1
typo
2021-08-25 22:07:07 +03:00
Kezi
f793d1c684
typo 2021-08-25 20:59:02 +02: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
Hirrolot
606a2fd634
Merge pull request #109 from teloxide/edited_message_is_too_long
Add `EditedMessageIsTooLong` error
2021-08-21 21:58:00 -07:00
Waffle
2417b636a6 Add EditedMessageIsTooLong error 2021-08-21 23:59:59 +03:00
Hirrolot
a8fc4a99e5
Merge pull request #108 from teloxide/nightly_fix
Fix compilation with `nigthly` feature
2021-08-03 13:14:36 -07: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
Hirrolot
7cd61c4442
Merge pull request #107 from teloxide/dump0.3.2
Dump version: 0.3.1 => 0.3.2
2021-07-27 09:20:35 -07:00
Waffle
1d379a3452 Dump version: 0.3.1 => 0.3.2 2021-07-27 12:58:11 +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
Hirrolot
425455f9a0
Merge pull request #105 from teloxide/erase
Add tools for Bot/`Request` type erasure
2021-07-17 01:52:29 -07: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
Hirrolot
309daeb358
Merge pull request #104 from teloxide/trace_adaptor
Add `Trace` bot adaptor
2021-07-11 06:12:33 -07: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
Hirrolot
ef46e6156d
Merge pull request #103 from teloxide/either_either
impl `HasPayload`, `Request` and `Requester` for `either::Either`
2021-07-08 09:11:18 -07:00
Waffle
1eddea5c85 Remove accidentally added cargo feature 2021-07-08 13:50:17 +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
Hirrolot
15a6825f53
Merge pull request #102 from teloxide/0.3.1-hotfix
0.3.1 hotfix
2021-07-07 10:18:40 -07:00
Waffle
b2152db747 Prepare 0.3.1 release 2021-07-07 20:14:27 +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
Hirrolot
6574577f0c
Merge pull request #101 from teloxide/WaffleLapkin-patch-1
Fill in v0.3.0 release date
2021-07-05 09:58:19 -07:00
Waffle Lapkin
2871623aa4
Fill in v0.3.0 release date 2021-07-05 19:53:42 +03:00
Hirrolot
d2d1b8fae1
Merge pull request #100 from teloxide/bump
Prepare for 0.3 release
2021-07-04 07:57:54 -07: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
2c9a4208b7 Update deps 2021-07-04 17:36:07 +03:00
Waffle Lapkin
399ede26ff
Merge pull request #99 from teloxide/tba_5.3
Update to Telegram Bot API 5.3
2021-07-04 16:19: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
Waffle
c3a00c687a TBA 5.3: rename chat member statuses: Creator => Owner, Kicked => Banned 2021-07-04 16:06:06 +03:00
Waffle
2c65fea742 TBA 5.3: Add input_field_placeholder to KeyboardMarkup and ForceReply 2021-07-04 14:56:25 +03:00
Hirrolot
52313b740c
Merge pull request #96 from teloxide/throttle_settings
Make `Throttle` settings more extendable
2021-07-04 07:59:56 +06:00