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
Hirrolot
152f053c6a
Merge pull request #86 from teloxide/api-5.2
...
API 5.2 support
2021-05-04 10:55:24 -07:00
Temirkhan Myrzamadi
7faec64f95
Fix Clippy
2021-05-04 23:51:11 +06:00
Hirrolot
a068166e8d
Merge branch 'master' into api-5.2
2021-05-04 10:41:29 -07:00
Hirrolot
893bd50870
Merge pull request #80 from teloxide/private_url
...
Add `Chat` getters, misssing field and improve `Message::url`
2021-05-04 10:34:53 -07:00
Waffle Lapkin
ce1a9ece16
Merge branch 'master' into private_url
2021-05-04 18:31:18 +03:00
Waffle
c498872778
Fix clippy
2021-05-04 18:20:08 +03:00
Waffle
b0f54533b0
Update changelog and readme
2021-05-04 16:56:27 +03:00
Waffle
6c0eb174ed
Move macro around
2021-05-04 16:50:49 +03:00
Waffle
39c497ca1e
Update methods to TBA 5.2
2021-05-04 16:47:16 +03:00
Waffle
653c804037
Update types to TBA 5.2
2021-05-04 16:01:18 +03:00
Waffle Lapkin
c5ab1ac89a
Merge pull request #85 from handlerug/patch-changelog
...
Update changelog with new API errors info
2021-04-28 11:36:19 +03:00
handlerug
37b8256cd5
Update changelog with new API errors info
2021-04-28 15:24:21 +07:00
Waffle Lapkin
2865127963
Merge pull request #84 from handlerug/patch-error-manage-pins
...
Add NotEnoughRightsToManagePins and BotKickedFromSupergroup errors
2021-04-27 23:19:27 +03:00
handlerug
8a7909e7c7
Add BotKickedFromSupergroup error
...
Fixes teloxide/teloxide#372
2021-04-27 23:48:27 +07:00
handlerug
b3dec316e5
Add NotEnoughRightsToManagePins error
...
Fixes teloxide/teloxide#371
2021-04-27 23:41:14 +07:00
Hirrolot
1d20dace9a
Merge pull request #81 from teloxide/fix_docs
...
Fix docs
2021-04-27 06:46:34 -07:00
Waffle
a95089bc6f
Fix docs
...
`doc_spotlight` nightly feature was renamed to `doc_notable_trait`
2021-04-27 12:25:15 +03:00
Waffle
a7d07a770c
Update CHANGELOG and remove unused imports
2021-04-27 12:17:14 +03:00
Waffle
cd170951ae
Update CHANGELOG
2021-04-27 12:03:43 +03:00
Waffle
ce969564ac
Improve Message::url
...
Return urls to messages in private groups (t.me/c) when applicable.
2021-04-27 12:01:19 +03:00
Waffle
bd52e93cdb
Add missing Chat::message_auto_delete_time
field (tba 5.1)
2021-04-27 12:00:54 +03:00
Waffle
b55bdd274b
Add Chat
getters
...
Add getters for all `Chat` fields nested in `ChatKind`.
`Chat` has a lot of nested enums and so is hard to match on.
The getters help with this.
This patch also corrects type of `slow_mode_delay`: `Option<i32>`` -> `Option<u32>``
2021-04-27 11:42:31 +03:00
Hirrolot
7c8df5412c
Merge pull request #79 from teloxide/fix_rt_tys
...
Fix return types of methods
2021-04-26 12:25:49 -07:00
Waffle
5d0713e742
Fix return types of methods
...
Fix return types of LeaveChat, PinChatMessage, SetChatDescription, SetChatPhoto,
SetChatTitle, UnpinAllChatMessages and UnpinChatMessage: String => True
2021-04-22 17:34:47 +03:00
Waffle Lapkin
0892258897
Merge pull request #74 from teloxide/chat_member_methods
...
Refactor ChatMember methods
2021-03-30 16:42:17 +03:00
Waffle
c73e73ad02
fmt
2021-03-30 16:38:24 +03:00
Waffle Lapkin
ccdcda68d4
Merge branch 'master' into chat_member_methods
2021-03-30 16:26:46 +03:00