diff --git a/CHANGELOG.md b/CHANGELOG.md index b000c57a..f9fd1fe2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- `GetChatAdministrators` output type `ChatMember` => `Vec` ([#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 diff --git a/src/payloads/get_chat_administrators.rs b/src/payloads/get_chat_administrators.rs index 9cdb1f06..dc14eb20 100644 --- a/src/payloads/get_chat_administrators.rs +++ b/src/payloads/get_chat_administrators.rs @@ -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 { required { /// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`) pub chat_id: ChatId [into],