gsm-core 0.4.36

Core types and platform abstractions for the Greentic messaging runtime.
Documentation
1
2
3
4
5
6
7
8
9
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct TelegramCreds {
    pub bot_token: String,
    pub webhook_secret: String,
    #[serde(default)]
    pub webhook_set: bool,
}