Struct telegram_bot::types::requests::GetChatMembersCount
[−]
[src]
#[must_use = "requests do nothing unless sent"]pub struct GetChatMembersCount { /* fields omitted */ }
Use this method to get the number of members in a chat.
Methods
impl GetChatMembersCount
[src]
fn new<C>(chat: C) -> GetChatMembersCount where
C: ToChatRef,
[src]
C: ToChatRef,
Trait Implementations
impl Clone for GetChatMembersCount
[src]
fn clone(&self) -> GetChatMembersCount
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Request for GetChatMembersCount
[src]
type Type = JsonRequestType<GetChatMembersCount>
type Response = JsonIdResponse<i64>
fn serialize(&self) -> Result<HttpRequest, Error>
[src]
fn detach(&self) -> DetachedRequest<Self::Response>
[src]
impl Serialize for GetChatMembersCount
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,