pub struct GetMessageThreadHistory { /* private fields */ }
Expand description
Returns messages in a message thread of a message. Can be used only if message.can_get_message_thread == true. Message thread of a channel message is in the channel’s linked supergroup. 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
Implementations§
Trait Implementations§
Source§impl AsRef<GetMessageThreadHistory> for GetMessageThreadHistory
impl AsRef<GetMessageThreadHistory> for GetMessageThreadHistory
Source§fn as_ref(&self) -> &GetMessageThreadHistory
fn as_ref(&self) -> &GetMessageThreadHistory
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for GetMessageThreadHistory
impl Clone for GetMessageThreadHistory
Source§fn clone(&self) -> GetMessageThreadHistory
fn clone(&self) -> GetMessageThreadHistory
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 GetMessageThreadHistory
impl Debug for GetMessageThreadHistory
Source§impl Default for GetMessageThreadHistory
impl Default for GetMessageThreadHistory
Source§fn default() -> GetMessageThreadHistory
fn default() -> GetMessageThreadHistory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetMessageThreadHistory
impl<'de> Deserialize<'de> for GetMessageThreadHistory
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 GetMessageThreadHistory
impl RefUnwindSafe for GetMessageThreadHistory
impl Send for GetMessageThreadHistory
impl Sync for GetMessageThreadHistory
impl Unpin for GetMessageThreadHistory
impl UnwindSafe for GetMessageThreadHistory
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