conogram/entities/bot_command_scope_chat_administrators.rs
1use serde::{Deserialize, Serialize};
2
3use crate::entities::misc::chat_id::ChatId;
4
5/// Represents the [scope](https://core.telegram.org/bots/api/#botcommandscope) of bot commands, covering all administrators of a specific group or supergroup chat.
6///
7/// API Reference: [link](https://core.telegram.org/bots/api/#botcommandscopechatadministrators)
8#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
9pub struct BotCommandScopeChatAdministrators {
10 /// Unique identifier for the target chat or username of the target supergroup (in the format `@supergroupusername`)
11 pub chat_id: ChatId,
12}
13
14// Divider: all content below this line will be preserved after code regen