Struct tg_flows::PublicChatChannel
source · pub struct PublicChatChannel {
pub username: Option<String>,
pub linked_chat_id: Option<i64>,
}Fields§
§username: Option<String>A username, for private chats, supergroups and channels if available.
linked_chat_id: Option<i64>Unique identifier for the linked chat, i.e. the discussion group
identifier for a channel and vice versa. Returned only in GetChat.
Trait Implementations§
source§impl Clone for PublicChatChannel
impl Clone for PublicChatChannel
source§fn clone(&self) -> PublicChatChannel
fn clone(&self) -> PublicChatChannel
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 PublicChatChannel
impl Debug for PublicChatChannel
source§impl<'de> Deserialize<'de> for PublicChatChannel
impl<'de> Deserialize<'de> for PublicChatChannel
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 PublicChatChannel
impl Hash for PublicChatChannel
source§impl PartialEq<PublicChatChannel> for PublicChatChannel
impl PartialEq<PublicChatChannel> for PublicChatChannel
source§fn eq(&self, other: &PublicChatChannel) -> bool
fn eq(&self, other: &PublicChatChannel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.