pub struct SearchCallMessages {
pub from_message_id: i64,
pub limit: i32,
pub only_missed: bool,
}
Expand description
Searches for call messages. Returns the results in reverse chronological order (i. e., in order of decreasing message_id). For optimal performance the number of returned messages is chosen by the library
Fields§
§from_message_id: i64
Identifier of the message from which to search; use 0 to get results from the last message
limit: i32
The maximum number of messages to be returned; up to 100. Fewer messages may be returned than specified by the limit, even if the end of the message history has not been reached
only_missed: bool
If true, returns only messages with missed calls
Trait Implementations§
Source§impl Clone for SearchCallMessages
impl Clone for SearchCallMessages
Source§fn clone(&self) -> SearchCallMessages
fn clone(&self) -> SearchCallMessages
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 SearchCallMessages
impl Debug for SearchCallMessages
Source§impl<'de> Deserialize<'de> for SearchCallMessages
impl<'de> Deserialize<'de> for SearchCallMessages
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 SearchCallMessages
impl Method for SearchCallMessages
Auto Trait Implementations§
impl Freeze for SearchCallMessages
impl RefUnwindSafe for SearchCallMessages
impl Send for SearchCallMessages
impl Sync for SearchCallMessages
impl Unpin for SearchCallMessages
impl UnwindSafe for SearchCallMessages
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