conogram/entities/chat_boost_source_gift_code.rs
1use serde::{Deserialize, Serialize};
2
3use crate::entities::user::User;
4
5/// The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.
6///
7/// API Reference: [link](https://core.telegram.org/bots/api/#chatboostsourcegiftcode)
8#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
9pub struct ChatBoostSourceGiftCode {
10 /// User for which the gift code was created
11 pub user: User,
12}
13
14// Divider: all content below this line will be preserved after code regen