Struct rust_tdlib::types::GetMessageThreadHistory
source · [−]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
sourceimpl AsRef<GetMessageThreadHistory> for GetMessageThreadHistory
impl AsRef<GetMessageThreadHistory> for GetMessageThreadHistory
sourcefn as_ref(&self) -> &GetMessageThreadHistory
fn as_ref(&self) -> &GetMessageThreadHistory
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for GetMessageThreadHistory
impl Clone for GetMessageThreadHistory
sourcefn clone(&self) -> GetMessageThreadHistory
fn clone(&self) -> GetMessageThreadHistory
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GetMessageThreadHistory
impl Debug for GetMessageThreadHistory
sourceimpl Default for GetMessageThreadHistory
impl Default for GetMessageThreadHistory
sourcefn default() -> GetMessageThreadHistory
fn default() -> GetMessageThreadHistory
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetMessageThreadHistory
impl<'de> Deserialize<'de> for GetMessageThreadHistory
sourcefn 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
sourceimpl Serialize for GetMessageThreadHistory
impl Serialize for GetMessageThreadHistory
Auto Trait Implementations
impl RefUnwindSafe for GetMessageThreadHistory
impl Send for GetMessageThreadHistory
impl Sync for GetMessageThreadHistory
impl Unpin for GetMessageThreadHistory
impl UnwindSafe for GetMessageThreadHistory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more