pub struct GetMessagesParams {
pub chat_id: i64,
pub marker: Option<String>,
pub count: Option<u32>,
}Expand description
Параметры для получения списка сообщений чата.
Fields§
§chat_id: i64Идентификатор чата.
marker: Option<String>Маркер для постраничного вывода (значение marker из предыдущего ответа).
count: Option<u32>Количество сообщений (1–100).
Trait Implementations§
Source§impl Clone for GetMessagesParams
impl Clone for GetMessagesParams
Source§fn clone(&self) -> GetMessagesParams
fn clone(&self) -> GetMessagesParams
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 GetMessagesParams
impl Debug for GetMessagesParams
Source§impl Default for GetMessagesParams
impl Default for GetMessagesParams
Source§fn default() -> GetMessagesParams
fn default() -> GetMessagesParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetMessagesParams
impl RefUnwindSafe for GetMessagesParams
impl Send for GetMessagesParams
impl Sync for GetMessagesParams
impl Unpin for GetMessagesParams
impl UnsafeUnpin for GetMessagesParams
impl UnwindSafe for GetMessagesParams
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