pub struct ChatInviteLinkInfo {
pub chat_id: i64,
pub type_: ChatType,
pub title: String,
pub photo: Option<ChatPhoto>,
pub member_count: i32,
pub member_user_ids: Vec<i32>,
pub is_public: bool,
}
Expand description
Contains information about a chat invite link
Fields§
§chat_id: i64
Chat identifier of the invite link; 0 if the user is not a member of this chat
type_: ChatType
Contains information about the type of the chat
title: String
Title of the chat
photo: Option<ChatPhoto>
Chat photo; may be null
member_count: i32
Number of members
member_user_ids: Vec<i32>
User identifiers of some chat members that may be known to the current user
is_public: bool
True, if the chat is a public supergroup or channel with a username
Trait Implementations§
Source§impl Clone for ChatInviteLinkInfo
impl Clone for ChatInviteLinkInfo
Source§fn clone(&self) -> ChatInviteLinkInfo
fn clone(&self) -> ChatInviteLinkInfo
Returns a duplicate 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 ChatInviteLinkInfo
impl Debug for ChatInviteLinkInfo
Source§impl<'de> Deserialize<'de> for ChatInviteLinkInfo
impl<'de> Deserialize<'de> for ChatInviteLinkInfo
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
Auto Trait Implementations§
impl Freeze for ChatInviteLinkInfo
impl RefUnwindSafe for ChatInviteLinkInfo
impl Send for ChatInviteLinkInfo
impl Sync for ChatInviteLinkInfo
impl Unpin for ChatInviteLinkInfo
impl UnwindSafe for ChatInviteLinkInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more