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
Hirrolot
9e7685e7b4
Merge branch 'master' into throttle_settings
2021-07-04 07:53:09 +06:00
Hirrolot
664b6565b6
Merge pull request #97 from teloxide/typed_urls_dates
...
Use `url::Url` for urls, use `chrono::DateTime<Utc>` for dates
2021-07-04 07:51:26 +06:00
Hirrolot
40c712e1d6
Merge branch 'master' into typed_urls_dates
2021-07-04 07:37:21 +06:00
Hirrolot
152930d896
Merge pull request #98 from teloxide/clippy_ignore_braces
...
Ignore buggy nonstandard_macro_braces clippy lint
2021-07-04 07:26:39 +06:00
Waffle
fa980453f3
Ignore buggy nonstandard_macro_braces clippy lint
2021-07-04 00:11:27 +03:00
Waffle
421cf42835
Use url::Url
for urls, use chrono::DateTime<Utc>
for dates
2021-07-03 23:35:13 +03:00
Waffle
4377abd149
Make Throttle
settings more extendable
...
Add a `#[non_exhaustive]` `Settings` builder struct.
Replace `with_queue_full_fn` and `spawn_with_queue_full_fn` with
`with_settings` and `spawn_with_settings`.
This allows to add more settings in the future without breaking changes.
2021-07-03 22:34:31 +03:00
Hirrolot
bd104a0a08
Merge pull request #77 from teloxide/adaptor_info
...
Adaptor info
2021-06-30 23:55:32 +06:00
Waffle
b0d2e35e5b
Update changelog
2021-06-30 20:30:26 +03:00
Waffle
1661f9f955
Throttle: Avoid repeatedly calling queue_full
2021-06-29 21:24:04 +03:00
Waffle
6450d9227d
Add Throttle::{with_queue_full_fn, spawn_with_queue_full_fn}
2021-06-29 21:24:04 +03:00
Waffle
07676a7156
Throttle: log when queue is full
2021-06-29 21:24:04 +03:00
Waffle
58cbf45bac
Remove QueueStatus
2021-06-29 21:22:42 +03:00
Waffle
34e73748c3
Add a way to get info from/into Thrrotle
...
This patch adds `Thrrotle::{limits,set_limits,queue_status}` functions and
`QueueStatus` struct allowing to get current status of worker & change
limits of the fly.
2021-06-29 21:22:40 +03:00
Waffle
0dc565211f
Add DefaultParseMode::parse_mode
2021-06-29 21:21:47 +03:00
Waffle Lapkin
ec2dc01993
Merge pull request #95 from teloxide/get_set_my_commands_ret_fixt
...
Fix rt-tys of `{get,set}_my_commands` methods
2021-06-24 20:56:40 +03:00
Waffle
656e393779
Fix rt-tys of {get,set}_my_commands
methods
...
Fix return types of `get_my_commands` (`u32` => `True`) and `set_my commands`
(`u32` => `Vec<BotCommand>`).
2021-06-24 20:49:26 +03:00
Hirrolot
dd8864123e
Merge pull request #93 from teloxide/fix-changelog-pr-link
...
Correct pr link in the changelog
2021-06-19 17:27:15 +06:00
Waffle Lapkin
e64c22753c
Correct pr link in the changelog
2021-06-19 14:15:39 +03:00
Waffle Lapkin
5f58b5e6de
Merge pull request #94 from liushuyu/master
...
telegram_response: fix issue `retry_after` and `migrate_to_chat_id` handling
2021-06-19 14:13:40 +03:00
liushuyu
73c34f852a
CHANGELOG: add changeset information for #94
2021-06-19 03:21:50 -06:00
liushuyu
414ce2c3a6
telegram_response: fix issue with handling ...
...
... `retry_after` and `migrate_to_chat_id`
2021-06-19 03:16:30 -06:00
Hirrolot
9e62bfee95
Merge pull request #92 from teloxide/resolve-has-payload-fixme
...
Resolve FIXME in `HasPayload`: we've decided to not add `As{Mut,Ref}` bounds
2021-06-19 15:14:25 +06:00
Waffle
c1eca613d5
Fix Clippy: remove useless (immediately implicitly dereferenced) refs
2021-06-09 11:34:40 +03:00
Waffle Lapkin
8ea42fe871
Resolve FIXME in HasPayload
: we've decided to not add As{Mut,Ref}
bounds
2021-06-09 11:09:14 +03:00
Waffle Lapkin
b69ce47d23
Merge pull request #91 from teloxide/parse_mode_doc
...
Fix formatting of `ParseMode` docs
2021-05-30 13:38:14 +03:00
Waffle
77253422f8
clippy
2021-05-30 13:34:20 +03:00
Waffle
961d67ccf1
Fix formatting of ParseMode
docs
2021-05-21 16:58:04 +03:00
Waffle Lapkin
897ba7c941
Merge pull request #90 from teloxide/pub_client_settings
...
Add `net::default_reqwest_settings` function
2021-05-13 19:35:11 +03:00
Waffle Lapkin
6ac0ed8588
Apply suggestions from code review
...
Co-authored-by: Hirrolot <hirrolot@gmail.com>
2021-05-13 18:43:07 +03:00
Waffle
ecaa5d5bec
Add net::default_reqwest_settings
function
...
This function can help when users want to set up their own client setting for
one reason or another, since settings set by the function, are required for
stable work.
This function was previously private and named `sound_bot`. The old name was
confusing since safety and soundness are used in the Rust context almost
entirely for `unsafe` code, UB & co. So I've changed the name to a more
descriptive one.
2021-05-12 11:51:03 +03:00
Hirrolot
3a5cba17f3
Merge pull request #89 from teloxide/docs_rs_metadata
...
Fix docs.rs metadata
2021-05-08 23:18:51 -07:00
Hirrolot
54622780fd
Merge pull request #88 from teloxide/notable_trait
...
Use proper notable_trait attr
2021-05-08 23:18:26 -07:00
Waffle
4de91811c4
Fix docs.rs metadata
2021-05-09 00:43:16 +03:00
Waffle
728313174f
Use proper notable_trait attr
2021-05-08 23:49:00 +03:00
Hirrolot
3882a49f6b
Merge pull request #87 from teloxide/fixup-docs-badge
...
Fixup docs badge
2021-05-08 13:22:46 -07:00
Waffle Lapkin
4af9321e11
Fixup docs badge
2021-05-08 23:15:51 +03:00