class Tourmaline::ChatInviteLink
inherits Reference
#
Represents an invite link for a chat.
Included modules
JSON::Serializable
Constructors#
.new(invite_link, creator, creates_join_request, is_primary, is_revoked, name : String? = nil, expire_date : Int32 | Int64 | Nil = nil, member_limit : Int32 | Int64 | Nil = nil, pending_join_request_count : Int32 | Int64 | Nil = nil)
#
(invite_link, creator, creates_join_request, is_primary, is_revoked, name : String? = nil, expire_date : Int32 | Int64 | Nil = nil, member_limit : Int32 | Int64 | Nil = nil, pending_join_request_count : Int32 | Int64 | Nil = nil)
Methods#
#creates_join_request=(creates_join_request : Bool)
#
(creates_join_request : Bool)
True, if users joining the chat via the link need to be approved by chat administrators
#creates_join_request? : Bool
#
: Bool
True, if users joining the chat via the link need to be approved by chat administrators
#invite_link : String
#
: String
The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with "...".
#invite_link=(invite_link : String)
#
(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 "...".
#member_limit : Int32 | Int64 | Nil
#
: Int32 | Int64 | Nil
Optional. The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999
#member_limit=(member_limit : Int32 | Int64 | Nil)
#
(member_limit : Int32 | Int64 | Nil)
Optional. The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999
#pending_join_request_count : Int32 | Int64 | Nil
#
: Int32 | Int64 | Nil
Optional. Number of pending join requests created using this link
#pending_join_request_count=(pending_join_request_count : Int32 | Int64 | Nil)
#
(pending_join_request_count : Int32 | Int64 | Nil)
Optional. Number of pending join requests created using this link