pub struct ApiUpdateChatItem {
pub chat_ref: ChatRef,
pub chat_item_id: i64,
pub live_message: bool,
pub updated_message: UpdatedMessage,
}Expand description
§Message commands
Commands to send, update, delete, moderate messages and set message reactions
Update message.
Network usage: background.
Syntax:
/_update item <str(chatRef)> <chatItemId>[ live=on] json <json(updatedMessage)>Fields§
§chat_ref: ChatRef§chat_item_id: i64§live_message: bool§updated_message: UpdatedMessageTrait Implementations§
Source§impl Clone for ApiUpdateChatItem
impl Clone for ApiUpdateChatItem
Source§fn clone(&self) -> ApiUpdateChatItem
fn clone(&self) -> ApiUpdateChatItem
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 ApiUpdateChatItem
impl CommandSyntax for ApiUpdateChatItem
Source§impl Debug for ApiUpdateChatItem
impl Debug for ApiUpdateChatItem
Source§impl PartialEq for ApiUpdateChatItem
impl PartialEq for ApiUpdateChatItem
impl StructuralPartialEq for ApiUpdateChatItem
Auto Trait Implementations§
impl Freeze for ApiUpdateChatItem
impl RefUnwindSafe for ApiUpdateChatItem
impl Send for ApiUpdateChatItem
impl Sync for ApiUpdateChatItem
impl Unpin for ApiUpdateChatItem
impl UnwindSafe for ApiUpdateChatItem
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