Struct rust_tdlib::types::GetChatHistory
source · 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