diff --git a/src/types/inline_keyboard_button.rs b/src/types/inline_keyboard_button.rs index 464f10d8..59282fac 100644 --- a/src/types/inline_keyboard_button.rs +++ b/src/types/inline_keyboard_button.rs @@ -25,7 +25,7 @@ pub enum InlineKeyboardButtonKind { /// message_. Url(reqwest::Url), - /// An HTTP URL used to automatically authorize the user. Can be used as a + /// An HTTPS URL used to automatically authorize the user. Can be used as a /// replacement for the [Telegram Login Widget]. /// /// [Telegram Login Widget]: https://core.telegram.org/widgets/login diff --git a/src/types/login_url.rs b/src/types/login_url.rs index ba2c0d78..ef8e9a36 100644 --- a/src/types/login_url.rs +++ b/src/types/login_url.rs @@ -15,11 +15,11 @@ use serde::{Deserialize, Serialize}; #[serde_with_macros::skip_serializing_none] #[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)] pub struct LoginUrl { - /// An HTTP URL to be opened with user authorization data added to the query - /// string when the button is pressed. If the user refuses to provide - /// authorization data, the original URL without information about the user - /// will be opened. The data added is the same as described in [Receiving - /// authorization data]. + /// An HTTPS URL to be opened with user authorization data added to the + /// query string when the button is pressed. If the user refuses to + /// provide authorization data, the original URL without information + /// about the user will be opened. The data added is the same as + /// described in [Receiving authorization data]. /// /// [Receiving authorization data]: https://core.telegram.org/widgets/login#receiving-authorization-data ///