conogram 0.2.19

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

/// The background is a freeform gradient that rotates after every message in the chat.
///
/// API Reference: [link](https://core.telegram.org/bots/api/#backgroundfillfreeformgradient)
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct BackgroundFillFreeformGradient {
    /// A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format
    pub colors: Vec<i64>,
}

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