Enum telegram_bot::ListeningMethod[][src]

pub enum ListeningMethod {
    LongPoll(Option<Integer>),
}

Different method how to listen for new updates. Currently LongPoll is the only method supported by this library. The Telegram API offers a webhook method which is not yet implemented here.

Variants

Auto Trait Implementations

impl Send for ListeningMethod

impl Sync for ListeningMethod