mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-11 12:31:14 +01:00
update comment in src/types/webhook_info.rs
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
This commit is contained in:
parent
f2d98fdb8a
commit
f02ed38bb7
1 changed files with 1 additions and 1 deletions
|
@ -7,8 +7,8 @@ use serde::{Deserialize, Serialize};
|
||||||
#[serde_with_macros::skip_serializing_none]
|
#[serde_with_macros::skip_serializing_none]
|
||||||
#[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
|
#[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
|
||||||
pub struct WebhookInfo {
|
pub struct WebhookInfo {
|
||||||
#[serde(with = "crate::types::option_url_from_string")]
|
|
||||||
/// Webhook URL, `None` if webhook is not set up.
|
/// Webhook URL, `None` if webhook is not set up.
|
||||||
|
#[serde(with = "crate::types::option_url_from_string")]
|
||||||
pub url: Option<reqwest::Url>,
|
pub url: Option<reqwest::Url>,
|
||||||
|
|
||||||
/// `true`, if a custom certificate was provided for webhook certificate
|
/// `true`, if a custom certificate was provided for webhook certificate
|
||||||
|
|
Loading…
Reference in a new issue