ChatInviteLink

data class ChatInviteLink(invite_link: String, creator: User, is_primary: Boolean, is_revoked: Boolean, expire_date: Long?, member_limit: Long?) : TelegramModel

Represents an invite link for a chat.

Constructors

ChatInviteLink
Link copied to clipboard
fun ChatInviteLink(invite_link: String, creator: User, is_primary: Boolean, is_revoked: Boolean, expire_date: Long? = null, member_limit: Long? = null)
Creates a ChatInviteLink.

Properties

creator
Link copied to clipboard
val creator: User
Creator of the link
expire_date
Link copied to clipboard
val expire_date: Long? = null
Optional.
invite_link
Link copied to clipboard
val invite_link: String
The invite link.
is_primary
Link copied to clipboard
val is_primary: Boolean
True, if the link is primary
is_revoked
Link copied to clipboard
val is_revoked: Boolean
True, if the link is revoked
member_limit
Link copied to clipboard
val member_limit: Long? = null
Optional.