mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Make InlineKeyboardButtonKind::Pay.0
have type True
This commit is contained in:
parent
46561b05ce
commit
3a2c8a8ffe
1 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
use crate::types::{CallbackGame, LoginUrl, WebAppInfo};
|
||||
use crate::types::{CallbackGame, LoginUrl, True, WebAppInfo};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// This object represents one button of an inline keyboard.
|
||||
|
@ -110,8 +110,7 @@ pub enum InlineKeyboardButtonKind {
|
|||
/// row.
|
||||
///
|
||||
/// [Pay button]: https://core.telegram.org/bots/api#payments
|
||||
// FIXME(waffle): This should be using `True`
|
||||
Pay(bool),
|
||||
Pay(True),
|
||||
}
|
||||
|
||||
/// Build buttons.
|
||||
|
|
Loading…
Reference in a new issue