Struct rtdlib::types::SearchPublicChats [−][src]
pub struct SearchPublicChats { /* fields omitted */ }
Expand description
Searches public chats by looking for specified query in their username and title. Currently only private chats, supergroups and channels can be public. Returns a meaningful number of results. Returns nothing if the length of the searched username prefix is less than 5. Excludes private chats with contacts and chats from the chat list from the results
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 SearchPublicChats
impl Send for SearchPublicChats
impl Sync for SearchPublicChats
impl Unpin for SearchPublicChats
impl UnwindSafe for SearchPublicChats
Blanket Implementations
Mutably borrows from an owned value. Read more