Struct rtdlib::types::SearchChatMessages
source[−]pub struct SearchChatMessages { /* private fields */ }
Expand description
Searches for messages with given words in the chat. Returns the results in reverse chronological order, i.e. in order of decreasing message_id. Cannot be used in secret chats with a non-empty query (searchSecretMessages must be used instead), or without an enabled message database. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
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 SearchChatMessages
impl Send for SearchChatMessages
impl Sync for SearchChatMessages
impl Unpin for SearchChatMessages
impl UnwindSafe for SearchChatMessages
Blanket Implementations
Mutably borrows from an owned value. Read more