Struct telbot_types::webhook::DeleteWebhook[][src]

pub struct DeleteWebhook {
    pub drop_pending_updates: Option<bool>,
}
Expand description

Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.

Fields

drop_pending_updates: Option<bool>

Pass True to drop all pending updates

Implementations

Drop all pending updates

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.