Struct telexide::model::SuperGroupChat [−][src]
pub struct SuperGroupChat {}Show fields
pub id: i64, pub title: String, pub username: Option<String>, pub photo: Option<ChatPhoto>, pub description: Option<String>, pub invite_link: Option<String>, pub pinned_message: Option<Box<Message>>, pub permissions: Option<ChatPermissions>, pub slow_mode_delay: Option<usize>, pub sticker_set_name: Option<String>, pub can_set_sticker_set: Option<bool>, pub linked_chat_id: Option<i64>, pub location: Option<ChatLocation>,
A supergroup object (a group with more than 200 members)
Fields
id: i64
title: String
Title
username: Option<String>
Username if available
photo: Option<ChatPhoto>
Chat photo. Returned only in get_chat
.
description: Option<String>
Description. Returned only in get_chat
.
invite_link: Option<String>
Chat invite link
pinned_message: Option<Box<Message>>
Pinned message. Returned only in get_chat
.
permissions: Option<ChatPermissions>
Default chat member permissions. Returned only in get_chat
.
slow_mode_delay: Option<usize>
The minimum allowed delay between consecutive messages sent by each
unprivileged user. Returned only in get_chat
.
sticker_set_name: Option<String>
Name of group sticker set. Returned only in get_chat
.
can_set_sticker_set: Option<bool>
True, if the bot can change the group sticker set. Returned only in
get_chat
.
linked_chat_id: Option<i64>
Unique identifier for the linked chat, i.e. the discussion group
identifier for a channel and vice versa; for supergroups and channel
chats. Returned only in get_chat
.
location: Option<ChatLocation>
For supergroups, the location to which the supergroup is connected.
Returned only in get_chat
.
Trait Implementations
impl Clone for SuperGroupChat
[src]
impl Clone for SuperGroupChat
[src]fn clone(&self) -> SuperGroupChat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for SuperGroupChat
[src]
impl<'de> Deserialize<'de> for SuperGroupChat
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<SuperGroupChat> for SuperGroupChat
[src]
impl PartialEq<SuperGroupChat> for SuperGroupChat
[src]fn eq(&self, other: &SuperGroupChat) -> bool
[src]
fn ne(&self, other: &SuperGroupChat) -> bool
[src]
impl Serialize for SuperGroupChat
[src]
impl Serialize for SuperGroupChat
[src]impl StructuralPartialEq for SuperGroupChat
[src]
impl StructuralPartialEq for SuperGroupChat
[src]Auto Trait Implementations
impl RefUnwindSafe for SuperGroupChat
impl RefUnwindSafe for SuperGroupChat
impl Send for SuperGroupChat
impl Send for SuperGroupChat
impl Sync for SuperGroupChat
impl Sync for SuperGroupChat
impl Unpin for SuperGroupChat
impl Unpin for SuperGroupChat
impl UnwindSafe for SuperGroupChat
impl UnwindSafe for SuperGroupChat
Blanket Implementations
impl<T> CloneAny for T where
T: Any + Clone,
[src]
impl<T> CloneAny for T where
T: Any + Clone,
[src]pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,