Enum rust_tdlib::types::ChatList
source · pub enum ChatList {
Archive(ChatListArchive),
Filter(ChatListFilter),
Main(ChatListMain),
// some variants omitted
}
Expand description
Describes a list of chats
Variants§
Archive(ChatListArchive)
A list of chats usually located at the top of the main chat list. Unmuted chats are automatically moved from the Archive to the Main chat list when a new message arrives
Filter(ChatListFilter)
A list of chats belonging to a chat filter
Main(ChatListMain)
A main list of chats
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ChatList
impl<'de> Deserialize<'de> for ChatList
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