Merge pull request #218 from teloxide/doc_fix_a

Fix docs
This commit is contained in:
Waffle Maybe 2022-05-26 22:44:57 +04:00 committed by GitHub
commit 21c5819a12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ pub enum InlineKeyboardButtonKind {
Url(reqwest::Url), Url(reqwest::Url),
/// An HTTP URL used to automatically authorize the user. Can be used as a /// 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 /// [Telegram Login Widget]: https://core.telegram.org/widgets/login
LoginUrl(LoginUrl), LoginUrl(LoginUrl),
@ -110,6 +110,7 @@ pub enum InlineKeyboardButtonKind {
/// row. /// row.
/// ///
/// [Pay button]: https://core.telegram.org/bots/api#payments /// [Pay button]: https://core.telegram.org/bots/api#payments
// FIXME(waffle): This should be using `True`
Pay(bool), Pay(bool),
} }