2021-09-02 22:38:12 +00:00
|
|
|
pub struct Content {
|
|
|
|
pub content: String,
|
|
|
|
pub tts: bool,
|
|
|
|
pub attachment: Option<Vec<u8>>,
|
|
|
|
pub attachment_name: Option<String>,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Content {
|
|
|
|
pub fn new() -> Self {
|
2021-09-10 23:14:23 +00:00
|
|
|
Self { content: "".to_string(), tts: false, attachment: None, attachment_name: None }
|
2021-09-02 22:38:12 +00:00
|
|
|
}
|
|
|
|
}
|