From 5c42e28bd14680692a338240035f9a9fff29f1a0 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Thu, 26 May 2022 22:32:51 +0400 Subject: [PATCH 1/2] Fix link in documentation --- src/types/inline_keyboard_button.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/inline_keyboard_button.rs b/src/types/inline_keyboard_button.rs index c20aff5d..1182e294 100644 --- a/src/types/inline_keyboard_button.rs +++ b/src/types/inline_keyboard_button.rs @@ -51,7 +51,7 @@ pub enum InlineKeyboardButtonKind { Url(reqwest::Url), /// An HTTP URL used to automatically authorize the user. Can be used as a - /// replacement for the [Telegram Login Widget](). + /// replacement for the [Telegram Login Widget]. /// /// [Telegram Login Widget]: https://core.telegram.org/widgets/login LoginUrl(LoginUrl), From f732421b8cb2e5947f6eb9d31319a97e4103a093 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Thu, 26 May 2022 22:34:16 +0400 Subject: [PATCH 2/2] Add a fixme --- src/types/inline_keyboard_button.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/inline_keyboard_button.rs b/src/types/inline_keyboard_button.rs index 1182e294..f776d54f 100644 --- a/src/types/inline_keyboard_button.rs +++ b/src/types/inline_keyboard_button.rs @@ -110,6 +110,7 @@ pub enum InlineKeyboardButtonKind { /// row. /// /// [Pay button]: https://core.telegram.org/bots/api#payments + // FIXME(waffle): This should be using `True` Pay(bool), }