add optional literal string in BotMessage

This commit is contained in:
Akulij 2025-05-23 16:03:12 +05:00
parent 1117af0724
commit 66180e0cfb

View File

@ -414,6 +414,7 @@ pub struct Button {
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct BotMessage {
// buttons: Vec<Button>
literal: Option<String>,
buttons: Option<KeyboardDefinition>,
state: Option<String>,