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

use crate::entities::photo_size::PhotoSize;

/// The paid media is a photo.
///
/// API Reference: [link](https://core.telegram.org/bots/api/#paidmediaphoto)
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct PaidMediaPhoto {
    /// The photo
    pub photo: Vec<PhotoSize>,
}

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