fix: use KeyboardDefinition in BotMessage
This commit is contained in:
parent
2c5802eaeb
commit
d1b25b52c1
@ -228,7 +228,7 @@ pub struct Button {
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
pub struct BotMessage {
|
||||
// buttons: Vec<Button>
|
||||
buttons: Option<BotFunction>,
|
||||
buttons: Option<KeyboardDefinition>,
|
||||
state: Option<String>,
|
||||
|
||||
handler: Option<BotFunction>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user