pub struct SearchPublicChats {
pub query: String,
}
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
Fields§
§query: String
Query to search for
Trait Implementations§
Source§impl Clone for SearchPublicChats
impl Clone for SearchPublicChats
Source§fn clone(&self) -> SearchPublicChats
fn clone(&self) -> SearchPublicChats
Returns a duplicate 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 SearchPublicChats
impl Debug for SearchPublicChats
Source§impl<'de> Deserialize<'de> for SearchPublicChats
impl<'de> Deserialize<'de> for SearchPublicChats
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
Source§impl Method for SearchPublicChats
impl Method for SearchPublicChats
Auto Trait Implementations§
impl Freeze for SearchPublicChats
impl RefUnwindSafe for SearchPublicChats
impl Send for SearchPublicChats
impl Sync for SearchPublicChats
impl Unpin for SearchPublicChats
impl UnwindSafe for SearchPublicChats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more