mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 06:51:01 +01:00
Merge pull request #73 from teloxide/fix_get_chat_administrators
fix `GetChatAdministrators`
This commit is contained in:
commit
8cd8ac96d9
2 changed files with 3 additions and 1 deletions
|
@ -9,9 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
### Fixed
|
||||
|
||||
- `GetChatAdministrators` output type `ChatMember` => `Vec<ChatMember>` ([#73][pr73])
|
||||
- `reqwest` dependency bringing `native-tls` in even when `rustls` was selected ([#71][pr71])
|
||||
|
||||
[pr71]: https://github.com/teloxide/teloxide-core/pull/71
|
||||
[pr73]: https://github.com/teloxide/teloxide-core/pull/73
|
||||
|
||||
## [0.2.2] - 2020-03-22
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ impl_payload! {
|
|||
///
|
||||
/// [`ChatMember`]: crate::types::ChatMember
|
||||
#[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
|
||||
pub GetChatAdministrators (GetChatAdministratorsSetters) => ChatMember {
|
||||
pub GetChatAdministrators (GetChatAdministratorsSetters) => Vec<ChatMember> {
|
||||
required {
|
||||
/// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)
|
||||
pub chat_id: ChatId [into],
|
||||
|
|
Loading…
Reference in a new issue