pub struct ApiDeleteMemberChatItem {
pub group_id: i64,
pub chat_item_ids: Vec<i64>,
}Expand description
§Message commands
Commands to send, update, delete, moderate messages and set message reactions
Moderate message. Requires Moderator role (and higher than message author’s).
Network usage: background.
Syntax:
/_delete member item #<groupId> <chatItemIds[0]>[,<chatItemIds[1]>...]Fields§
§group_id: i64§chat_item_ids: Vec<i64>Implementations§
Source§impl ApiDeleteMemberChatItem
impl ApiDeleteMemberChatItem
Sourcepub fn builder() -> ApiDeleteMemberChatItemBuilder
pub fn builder() -> ApiDeleteMemberChatItemBuilder
Create an instance of ApiDeleteMemberChatItem using the builder syntax
Trait Implementations§
Source§impl Clone for ApiDeleteMemberChatItem
impl Clone for ApiDeleteMemberChatItem
Source§fn clone(&self) -> ApiDeleteMemberChatItem
fn clone(&self) -> ApiDeleteMemberChatItem
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 CommandSyntax for ApiDeleteMemberChatItem
impl CommandSyntax for ApiDeleteMemberChatItem
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 ApiDeleteMemberChatItem
impl Debug for ApiDeleteMemberChatItem
Source§impl PartialEq for ApiDeleteMemberChatItem
impl PartialEq for ApiDeleteMemberChatItem
Source§fn eq(&self, other: &ApiDeleteMemberChatItem) -> bool
fn eq(&self, other: &ApiDeleteMemberChatItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApiDeleteMemberChatItem
Auto Trait Implementations§
impl Freeze for ApiDeleteMemberChatItem
impl RefUnwindSafe for ApiDeleteMemberChatItem
impl Send for ApiDeleteMemberChatItem
impl Sync for ApiDeleteMemberChatItem
impl Unpin for ApiDeleteMemberChatItem
impl UnsafeUnpin for ApiDeleteMemberChatItem
impl UnwindSafe for ApiDeleteMemberChatItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more