pub struct UpdateDeleteMessages {
pub chat_id: i64,
pub message_ids: Vec<i64>,
pub is_permanent: bool,
pub from_cache: bool,
}
Expand description
Some messages were deleted
Fields§
§chat_id: i64
Chat identifier
message_ids: Vec<i64>
Identifiers of the deleted messages
is_permanent: bool
True, if the messages are permanently deleted by a user (as opposed to just becoming unaccessible)
from_cache: bool
True, if the messages are deleted only from the cache and can possibly be retrieved again in the future
Trait Implementations§
Source§impl Clone for UpdateDeleteMessages
impl Clone for UpdateDeleteMessages
Source§fn clone(&self) -> UpdateDeleteMessages
fn clone(&self) -> UpdateDeleteMessages
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 UpdateDeleteMessages
impl Debug for UpdateDeleteMessages
Source§impl<'de> Deserialize<'de> for UpdateDeleteMessages
impl<'de> Deserialize<'de> for UpdateDeleteMessages
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 UpdateDeleteMessages
impl RefUnwindSafe for UpdateDeleteMessages
impl Send for UpdateDeleteMessages
impl Sync for UpdateDeleteMessages
impl Unpin for UpdateDeleteMessages
impl UnwindSafe for UpdateDeleteMessages
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