Struct telexide::client::Webhook [−][src]
pub struct Webhook { /* fields omitted */ }
Handles listening to the telegram webhook and will provide you with the incoming updates
Implementations
impl Webhook
[src]
impl Webhook
[src]pub fn new(opts: &WebhookOptions) -> Self
[src]
creates a new Webhook
based on the provided WebhookOptions
pub fn start(self) -> Receiver<TelegramResult<Update>>
[src]
starts the webhandling and returns a Receiver
, which will allow you
to receive the incoming updates
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Webhook
impl RefUnwindSafe for Webhook
impl UnwindSafe for Webhook
impl UnwindSafe for Webhook
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,