Struct rust_tdlib::types::GetSuitableDiscussionChats
source · pub struct GetSuitableDiscussionChats { /* private fields */ }
Expand description
Returns a list of basic group and supergroup chats, which can be used as a discussion group for a channel. Returned basic group chats must be first upgraded to supergroups before they can be set as a discussion group. To set a returned supergroup as a discussion group, access to its old messages must be enabled using toggleSupergroupIsAllHistoryAvailable first
Implementations§
Trait Implementations§
source§impl AsRef<GetSuitableDiscussionChats> for GetSuitableDiscussionChats
impl AsRef<GetSuitableDiscussionChats> for GetSuitableDiscussionChats
source§fn as_ref(&self) -> &GetSuitableDiscussionChats
fn as_ref(&self) -> &GetSuitableDiscussionChats
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for GetSuitableDiscussionChats
impl Clone for GetSuitableDiscussionChats
source§fn clone(&self) -> GetSuitableDiscussionChats
fn clone(&self) -> GetSuitableDiscussionChats
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetSuitableDiscussionChats
impl Debug for GetSuitableDiscussionChats
source§impl Default for GetSuitableDiscussionChats
impl Default for GetSuitableDiscussionChats
source§fn default() -> GetSuitableDiscussionChats
fn default() -> GetSuitableDiscussionChats
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetSuitableDiscussionChats
impl<'de> Deserialize<'de> for GetSuitableDiscussionChats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more