teloxide_core/payloads/get_chat_member_count.rs
1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::Recipient;
6
7impl_payload! {
8 /// Use this method to get the number of members in a chat. Returns _Int_ on success.
9 #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
10 pub GetChatMemberCount (GetChatMemberCountSetters) => u32 {
11 required {
12 /// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)
13 pub chat_id: Recipient [into],
14 }
15 }
16}