pub struct SearchPublicChats { /* private fields */ }
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. Excludes private chats with contacts and chats from the chat list from the results
Implementations§
Trait Implementations§
Source§impl AsRef<SearchPublicChats> for SearchPublicChats
impl AsRef<SearchPublicChats> for SearchPublicChats
Source§fn as_ref(&self) -> &SearchPublicChats
fn as_ref(&self) -> &SearchPublicChats
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SearchPublicChats
impl Clone for SearchPublicChats
Source§fn clone(&self) -> SearchPublicChats
fn clone(&self) -> SearchPublicChats
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 SearchPublicChats
impl Debug for SearchPublicChats
Source§impl Default for SearchPublicChats
impl Default for SearchPublicChats
Source§fn default() -> SearchPublicChats
fn default() -> SearchPublicChats
Returns the “default value” for a type. Read more
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
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