pub struct HistoryRequest {
pub chat_id: InlineId,
pub limit: Option<u32>,
pub before_message_id: Option<InlineId>,
pub after_message_id: Option<InlineId>,
}Expand description
Request to fetch chat history.
Fields§
§chat_id: InlineIdInline chat ID.
limit: Option<u32>Optional page size.
before_message_id: Option<InlineId>Optional exclusive upper message bound.
after_message_id: Option<InlineId>Optional exclusive lower message bound for newer-message startup catch-up.
Trait Implementations§
Source§impl Clone for HistoryRequest
impl Clone for HistoryRequest
Source§fn clone(&self) -> HistoryRequest
fn clone(&self) -> HistoryRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HistoryRequest
impl Debug for HistoryRequest
Source§impl<'de> Deserialize<'de> for HistoryRequest
impl<'de> Deserialize<'de> for HistoryRequest
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
impl Eq for HistoryRequest
Source§impl PartialEq for HistoryRequest
impl PartialEq for HistoryRequest
Source§fn eq(&self, other: &HistoryRequest) -> bool
fn eq(&self, other: &HistoryRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HistoryRequest
impl Serialize for HistoryRequest
impl StructuralPartialEq for HistoryRequest
Auto Trait Implementations§
impl Freeze for HistoryRequest
impl RefUnwindSafe for HistoryRequest
impl Send for HistoryRequest
impl Sync for HistoryRequest
impl Unpin for HistoryRequest
impl UnsafeUnpin for HistoryRequest
impl UnwindSafe for HistoryRequest
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