Enum telegram_bot::ListeningAction[][src]

pub enum ListeningAction {
    Continue,
    Stop,
}

A listening handler returns this type to signal the listening-method either to stop or to continue. If a handler returns Stop, the update it was passed counts as "handled" and won't be handled again.

Variants

Auto Trait Implementations

impl Send for ListeningAction

impl Sync for ListeningAction