Struct telegram_typings::WebhookInfo [] [src]

pub struct WebhookInfo {
    pub url: String,
    pub has_custom_certificate: bool,
    pub pending_update_count: i64,
    pub last_error_date: Option<i64>,
    pub last_error_message: Option<String>,
    pub max_connections: Option<i64>,
    pub allowed_updates: Option<Vec<String>>,
}

Contains information about the current status of a webhook.

Fields

Webhook URL, may be empty if webhook is not set up

True, if a custom certificate was provided for webhook certificate checks

Number of updates awaiting delivery

Unix time for the most recent error that happened when trying to deliver an update via webhook

Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook

Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery

A list of update types the bot is subscribed to. Defaults to all update types

Trait Implementations

impl Debug for WebhookInfo
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for WebhookInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for WebhookInfo

impl Sync for WebhookInfo