pub struct ChatInviteLink {
pub invite_link: String,
pub name: String,
pub creator_user_id: i64,
pub date: i32,
pub edit_date: i32,
pub expiration_date: i32,
pub member_limit: i32,
pub member_count: i32,
pub pending_join_request_count: i32,
pub creates_join_request: bool,
pub is_primary: bool,
pub is_revoked: bool,
}
Expand description
Contains a chat invite link
Fields§
§invite_link: String
Chat invite link
name: String
Name of the link
creator_user_id: i64
User identifier of an administrator created the link
date: i32
Point in time (Unix timestamp) when the link was created
edit_date: i32
Point in time (Unix timestamp) when the link was last edited; 0 if never or unknown
expiration_date: i32
Point in time (Unix timestamp) when the link will expire; 0 if never
member_limit: i32
The maximum number of members, which can join the chat using the link simultaneously; 0 if not limited. Always 0 if the link requires approval
member_count: i32
Number of chat members, which joined the chat using the link
pending_join_request_count: i32
Number of pending join requests created using this link
creates_join_request: bool
True, if the link only creates join request. If true, total number of joining members will be unlimited
is_primary: bool
True, if the link is primary. Primary invite link can’t have name, expiration date, or usage limit. There is exactly one primary invite link for each administrator with can_invite_users right at a given time
is_revoked: bool
True, if the link was revoked
Trait Implementations§
Source§impl Clone for ChatInviteLink
impl Clone for ChatInviteLink
Source§fn clone(&self) -> ChatInviteLink
fn clone(&self) -> ChatInviteLink
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more