teloxide_core/payloads/
get_webhook_info.rs

1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::WebhookInfo;
6
7impl_payload! {
8    /// Use this method to get current webhook status. Requires no parameters. On success, returns a [`WebhookInfo`] object. If the bot is using [`GetUpdates`], will return an object with the _url_ field empty.
9    ///
10    /// [`WebhookInfo`]: crate::types::WebhookInfo
11    /// [`GetUpdates`]: crate::payloads::GetUpdates
12    #[derive(Debug, PartialEq, Eq, Hash, Default, Clone, Serialize)]
13    pub GetWebhookInfo (GetWebhookInfoSetters) => WebhookInfo {
14
15    }
16}