pub struct ApiDeleteChatItem {
pub chat_ref: ChatRef,
pub chat_item_ids: Vec<i64>,
pub delete_mode: CIDeleteMode,
}Expand description
§Message commands
Commands to send, update, delete, moderate messages and set message reactions
Delete message.
Network usage: background.
Syntax:
/_delete item <str(chatRef)> <chatItemIds[0]>[,<chatItemIds[1]>...] broadcast|internal|internalMarkFields§
§chat_ref: ChatRef§chat_item_ids: Vec<i64>§delete_mode: CIDeleteModeTrait Implementations§
Source§impl Clone for ApiDeleteChatItem
impl Clone for ApiDeleteChatItem
Source§fn clone(&self) -> ApiDeleteChatItem
fn clone(&self) -> ApiDeleteChatItem
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 CommandSyntax for ApiDeleteChatItem
impl CommandSyntax for ApiDeleteChatItem
const COMMAND_BUF_SIZE: usize = 256
fn append_command_syntax(&self, buf: &mut String)
Source§fn to_command_string(&self) -> String
fn to_command_string(&self) -> String
Generate a SimpleX command string from self
Source§impl Debug for ApiDeleteChatItem
impl Debug for ApiDeleteChatItem
Source§impl PartialEq for ApiDeleteChatItem
impl PartialEq for ApiDeleteChatItem
impl StructuralPartialEq for ApiDeleteChatItem
Auto Trait Implementations§
impl Freeze for ApiDeleteChatItem
impl RefUnwindSafe for ApiDeleteChatItem
impl Send for ApiDeleteChatItem
impl Sync for ApiDeleteChatItem
impl Unpin for ApiDeleteChatItem
impl UnsafeUnpin for ApiDeleteChatItem
impl UnwindSafe for ApiDeleteChatItem
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