create BotMessage.literal getter
This commit is contained in:
parent
506fdcb260
commit
1730107e9a
@ -455,6 +455,10 @@ impl BotMessage {
|
||||
None => Ok(None),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn literal(&self) -> Option<&String> {
|
||||
self.literal.as_ref()
|
||||
}
|
||||
}
|
||||
|
||||
pub enum ButtonLayout {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user