Struct telegram_bot_raw_ars::types::chat::Supergroup
source · pub struct Supergroup {
pub id: SupergroupId,
pub title: String,
pub username: Option<String>,
pub invite_link: Option<String>,
}
Expand description
This object represents a supergroup.
Fields§
§id: SupergroupId
Unique identifier for this chat.
title: String
Title, for supergroups, channels and group chats.
username: Option<String>
Username for supergroup.
invite_link: Option<String>
Invite link for this supergroup, specific to this bot. You can generate a new invite link by using the export_invite_link method.
Trait Implementations§
source§impl Clone for Supergroup
impl Clone for Supergroup
source§fn clone(&self) -> Supergroup
fn clone(&self) -> Supergroup
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Supergroup
impl Debug for Supergroup
source§impl<'de> Deserialize<'de> for Supergroup
impl<'de> Deserialize<'de> for Supergroup
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for Supergroup
impl Hash for Supergroup
source§impl Ord for Supergroup
impl Ord for Supergroup
source§fn cmp(&self, other: &Supergroup) -> Ordering
fn cmp(&self, other: &Supergroup) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Supergroup> for Supergroup
impl PartialEq<Supergroup> for Supergroup
source§fn eq(&self, other: &Supergroup) -> bool
fn eq(&self, other: &Supergroup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Supergroup> for Supergroup
impl PartialOrd<Supergroup> for Supergroup
source§fn partial_cmp(&self, other: &Supergroup) -> Option<Ordering>
fn partial_cmp(&self, other: &Supergroup) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more