pub struct GetMessages {
pub chat_id: i64,
pub message_ids: Vec<i64>,
}
Expand description
Returns information about messages. If a message is not found, returns null on the corresponding position of the result
Fields§
§chat_id: i64
Identifier of the chat the messages belong to
message_ids: Vec<i64>
Identifiers of the messages to get
Trait Implementations§
Source§impl Clone for GetMessages
impl Clone for GetMessages
Source§fn clone(&self) -> GetMessages
fn clone(&self) -> GetMessages
Returns a duplicate 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 GetMessages
impl Debug for GetMessages
Source§impl<'de> Deserialize<'de> for GetMessages
impl<'de> Deserialize<'de> for GetMessages
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
Source§impl Method for GetMessages
impl Method for GetMessages
Auto Trait Implementations§
impl Freeze for GetMessages
impl RefUnwindSafe for GetMessages
impl Send for GetMessages
impl Sync for GetMessages
impl Unpin for GetMessages
impl UnwindSafe for GetMessages
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