pub enum Action {
Next,
Done,
ReplyText(String),
ReplySticker(String),
}Expand description
Action represents an action to take after handling a chat event.
Variants§
Next
Continue to the next handler.
Done
Stop handling events.
ReplyText(String)
Reply to the message with the given text and continue to the next handler.
ReplySticker(String)
Reply to the message with the given sticker and continue to the next handler.
Auto Trait Implementations§
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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