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
use serde::{Deserialize, Serialize};

/// Describes an inline message sent by a [Web App](https://core.telegram.org/bots/webapps) on behalf of a user.
///
/// API Reference: [link](https://core.telegram.org/bots/api/#sentwebappmessage)
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct SentWebAppMessage {
    /// *Optional*. Identifier of the sent inline message. Available only if there is an [inline keyboard](https://core.telegram.org/bots/api/#inlinekeyboardmarkup) attached to the message.
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub inline_message_id: Option<String>,
}

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