pub struct ApiChatItemReaction {
pub chat_ref: ChatRef,
pub chat_item_id: i64,
pub add: bool,
pub reaction: MsgReaction,
}Expand description
§Message commands
Commands to send, update, delete, moderate messages and set message reactions
Add/remove message reaction.
Network usage: background.
Syntax:
/_reaction <str(chatRef)> <chatItemId> on|off <json(reaction)>Fields§
§chat_ref: ChatRef§chat_item_id: i64§add: bool§reaction: MsgReactionTrait Implementations§
Source§impl Clone for ApiChatItemReaction
impl Clone for ApiChatItemReaction
Source§fn clone(&self) -> ApiChatItemReaction
fn clone(&self) -> ApiChatItemReaction
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 ApiChatItemReaction
impl CommandSyntax for ApiChatItemReaction
Source§impl Debug for ApiChatItemReaction
impl Debug for ApiChatItemReaction
Source§impl PartialEq for ApiChatItemReaction
impl PartialEq for ApiChatItemReaction
impl StructuralPartialEq for ApiChatItemReaction
Auto Trait Implementations§
impl Freeze for ApiChatItemReaction
impl RefUnwindSafe for ApiChatItemReaction
impl Send for ApiChatItemReaction
impl Sync for ApiChatItemReaction
impl Unpin for ApiChatItemReaction
impl UnwindSafe for ApiChatItemReaction
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