pub struct ApiSendMessages {
pub send_ref: ChatRef,
pub live_message: bool,
pub ttl: Option<i32>,
pub composed_messages: Vec<ComposedMessage>,
}Expand description
§Message commands
Commands to send, update, delete, moderate messages and set message reactions
Send messages.
Network usage: background.
Syntax:
/_send <str(sendRef)>[ live=on][ ttl=<ttl>] json <json(composedMessages)>Fields§
§send_ref: ChatRef§live_message: bool§ttl: Option<i32>§composed_messages: Vec<ComposedMessage>Trait Implementations§
Source§impl Clone for ApiSendMessages
impl Clone for ApiSendMessages
Source§fn clone(&self) -> ApiSendMessages
fn clone(&self) -> ApiSendMessages
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 ApiSendMessages
impl CommandSyntax for ApiSendMessages
Source§impl Debug for ApiSendMessages
impl Debug for ApiSendMessages
Source§impl PartialEq for ApiSendMessages
impl PartialEq for ApiSendMessages
impl StructuralPartialEq for ApiSendMessages
Auto Trait Implementations§
impl Freeze for ApiSendMessages
impl RefUnwindSafe for ApiSendMessages
impl Send for ApiSendMessages
impl Sync for ApiSendMessages
impl Unpin for ApiSendMessages
impl UnwindSafe for ApiSendMessages
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