conogram 0.2.19

An async wrapper for Telegram Bot API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

/// Describes an inline message to be sent by a user of a Mini App.
///
/// API Reference: [link](https://core.telegram.org/bots/api/#preparedinlinemessage)
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct PreparedInlineMessage {
    /// Unique identifier of the prepared message
    pub id: String,

    /// Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used
    pub expiration_date: i64,
}

// Divider: all content below this line will be preserved after code regen