Struct telbot_types::chat::ChatInviteLink[][src]

pub struct ChatInviteLink {
    pub invite_link: String,
    pub creator: User,
    pub is_primary: bool,
    pub is_revoked: bool,
    pub expire_date: Option<u64>,
    pub member_limit: Option<u32>,
}
Expand description

Represents an invite link for a chat.

Fields

invite_link: String

The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”.

creator: User

Creator of the link

is_primary: bool

True, if the link is primary

is_revoked: bool

True, if the link is revoked

expire_date: Option<u64>

Point in time (Unix timestamp) when the link will expire or has been expired

member_limit: Option<u32>

Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.