Struct rtdlib::types::GetSuitableDiscussionChats [−][src]
pub struct GetSuitableDiscussionChats { /* fields omitted */ }
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
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for GetSuitableDiscussionChats
impl Send for GetSuitableDiscussionChats
impl Sync for GetSuitableDiscussionChats
impl Unpin for GetSuitableDiscussionChats
impl UnwindSafe for GetSuitableDiscussionChats
Blanket Implementations
Mutably borrows from an owned value. Read more