class TD::ChatInviteLink

Included Modules

Defined in:

telegram/types/chat_invite_link.cr

Constructors

Instance Method Summary

Instance methods inherited from class TD::Base

extract_abstract_type(__json : JSON::Any) extract_abstract_type, extract_type(__json : JSON::Any, class_type : Class) extract_type

Macros inherited from class TD::Base

object_attributes(type) object_attributes, object_type(type) object_type

Constructor Detail

def self.new(invite_link : String, name : String, creator_user_id : Int64, date : Int32, edit_date : Int32, expiration_date : Int32, member_limit : Int32, member_count : Int32, pending_join_request_count : Int32, creates_join_request : Bool = false, is_primary : Bool = false, is_revoked : Bool = false) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def creates_join_request : Bool #

def creates_join_request=(creates_join_request : Bool) #

def creator_user_id : Int64 #

def creator_user_id=(creator_user_id : Int64) #

def date : Int32 #

def date=(date : Int32) #

def edit_date : Int32 #

def edit_date=(edit_date : Int32) #

def expiration_date : Int32 #

def expiration_date=(expiration_date : Int32) #

def invite_link : String #

def invite_link=(invite_link : String) #

def is_primary : Bool #

def is_primary=(is_primary : Bool) #

def is_revoked : Bool #

def is_revoked=(is_revoked : Bool) #

def member_count : Int32 #

def member_count=(member_count : Int32) #

def member_limit : Int32 #

def member_limit=(member_limit : Int32) #

def name : String #

def name=(name : String) #

def object_type : String #

def object_type=(object_type : String) #

def pending_join_request_count : Int32 #

def pending_join_request_count=(pending_join_request_count : Int32) #