telers 1.0.0-beta.2

An asynchronous framework for Telegram Bot API written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};
/// A placeholder, currently holds no information. Use `BotFather` to set up your game.
/// # Documentation
/// <https://core.telegram.org/bots/api#callbackgame>
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct CallbackGame {}
impl CallbackGame {
    /// Creates a new `CallbackGame`.
    #[must_use]
    pub const fn new() -> Self {
        Self {}
    }
}
impl Default for CallbackGame {
    fn default() -> Self {
        Self::new()
    }
}