pub struct ChatInviteLinkInfo {Show 14 fields
pub chat_id: i64,
pub accessible_for: i32,
pub type: InviteLinkChatType,
pub title: String,
pub photo: Option<ChatPhotoInfo>,
pub accent_color_id: i32,
pub description: String,
pub member_count: i32,
pub member_user_ids: Vec<i64>,
pub creates_join_request: bool,
pub is_public: bool,
pub is_verified: bool,
pub is_scam: bool,
pub is_fake: bool,
}Expand description
Contains information about a chat invite link
Fields§
§chat_id: i64Chat identifier of the invite link; 0 if the user has no access to the chat before joining
accessible_for: i32If non-zero, the amount of time for which read access to the chat will remain available, in seconds
type: InviteLinkChatTypeType of the chat
title: StringTitle of the chat
photo: Option<ChatPhotoInfo>Chat photo; may be null
accent_color_id: i32Identifier of the accent color for chat title and background of chat photo
description: StringChat description
member_count: i32Number of members in the chat
member_user_ids: Vec<i64>User identifiers of some chat members that may be known to the current user
creates_join_request: boolTrue, if the link only creates join request
is_public: boolTrue, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup
is_verified: boolTrue, if the chat is verified
is_scam: boolTrue, if many users reported this chat as a scam
is_fake: boolTrue, if many users reported this chat as a fake account
Trait Implementations§
Source§impl Clone for ChatInviteLinkInfo
impl Clone for ChatInviteLinkInfo
Source§fn clone(&self) -> ChatInviteLinkInfo
fn clone(&self) -> ChatInviteLinkInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more