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, val subscriptionPeriod: TimeSpan? = null, val subscriptionPrice: UInt? = 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, subscriptionPeriod: TimeSpan? = null, subscriptionPrice: UInt? = 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
@SerialName(value = "subscription_period")
open override val subscriptionPeriod: TimeSpan? = null
Link copied to clipboard
@SerialName(value = "subscription_price")
open override val subscriptionPrice: UInt? = null
Link copied to clipboard
open override val user: User