Struct rust_tdlib::types::GetChatSparseMessagePositions
source · pub struct GetChatSparseMessagePositions { /* private fields */ }
Expand description
Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation. Returns the results in reverse chronological order (i.e., in order of decreasing message_id). Cannot be used in secret chats or with searchMessagesFilterFailedToSend filter without an enabled message database
Implementations§
Trait Implementations§
source§impl AsRef<GetChatSparseMessagePositions> for GetChatSparseMessagePositions
impl AsRef<GetChatSparseMessagePositions> for GetChatSparseMessagePositions
source§fn as_ref(&self) -> &GetChatSparseMessagePositions
fn as_ref(&self) -> &GetChatSparseMessagePositions
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for GetChatSparseMessagePositions
impl Clone for GetChatSparseMessagePositions
source§fn clone(&self) -> GetChatSparseMessagePositions
fn clone(&self) -> GetChatSparseMessagePositions
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 Default for GetChatSparseMessagePositions
impl Default for GetChatSparseMessagePositions
source§fn default() -> GetChatSparseMessagePositions
fn default() -> GetChatSparseMessagePositions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetChatSparseMessagePositions
impl<'de> Deserialize<'de> for GetChatSparseMessagePositions
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