add optional literal string in BotMessage
This commit is contained in:
parent
1117af0724
commit
66180e0cfb
@ -414,6 +414,7 @@ pub struct Button {
|
|||||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||||
pub struct BotMessage {
|
pub struct BotMessage {
|
||||||
// buttons: Vec<Button>
|
// buttons: Vec<Button>
|
||||||
|
literal: Option<String>,
|
||||||
buttons: Option<KeyboardDefinition>,
|
buttons: Option<KeyboardDefinition>,
|
||||||
state: Option<String>,
|
state: Option<String>,
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user