ChatInviteLinkWithLimitedMembers

@Serializable
data class ChatInviteLinkWithLimitedMembers(val inviteLink: String, val creator: User, val name: String? = null, val membersLimit: MembersLimit, val isRevoked: Boolean = false, expireDate: TelegramDate? = null) : SecondaryChatInviteLink

Represent SecondaryChatInviteLink which will have limitation for the amount of chat members to join

Constructors

Link copied to clipboard
constructor(inviteLink: String, creator: User, name: String? = null, membersLimit: MembersLimit, isRevoked: Boolean = false, expireDate: TelegramDate? = null)

Properties

Link copied to clipboard
@SerialName(value = "creator")
open override val creator: User
Link copied to clipboard
open override val expirationDateTime: DateTime?
Link copied to clipboard
@SerialName(value = "invite_link")
open override val inviteLink: String
Link copied to clipboard
open override val isPrimary: Boolean
Link copied to clipboard
@SerialName(value = "is_revoked")
open override val isRevoked: Boolean = false
Link copied to clipboard
@SerialName(value = "member_limit")
val membersLimit: MembersLimit
Link copied to clipboard
@SerialName(value = "name")
open override val name: String? = null
Link copied to clipboard
open override val user: User