pub struct GetChatHistory { /* private fields */ }
Expand description
Returns messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib. This is an offline request if only_local is true
Implementations§
Trait Implementations§
Source§impl AsRef<GetChatHistory> for GetChatHistory
impl AsRef<GetChatHistory> for GetChatHistory
Source§fn as_ref(&self) -> &GetChatHistory
fn as_ref(&self) -> &GetChatHistory
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for GetChatHistory
impl Clone for GetChatHistory
Source§fn clone(&self) -> GetChatHistory
fn clone(&self) -> GetChatHistory
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 GetChatHistory
impl Debug for GetChatHistory
Source§impl Default for GetChatHistory
impl Default for GetChatHistory
Source§fn default() -> GetChatHistory
fn default() -> GetChatHistory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetChatHistory
impl<'de> Deserialize<'de> for GetChatHistory
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 GetChatHistory
impl RefUnwindSafe for GetChatHistory
impl Send for GetChatHistory
impl Sync for GetChatHistory
impl Unpin for GetChatHistory
impl UnwindSafe for GetChatHistory
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