ChatInviteLinkUnlimited

@Serializable
data class ChatInviteLinkUnlimited(val inviteLink: String, val creator: User, val name: String? = null, val isRevoked: Boolean = false, expireDate: TelegramDate? = null, val subscriptionPeriod: TimeSpan? = null, val subscriptionPrice: UInt? = null) : SecondaryChatInviteLink

Represent SecondaryChatInviteLink which have no any restrictions like ChatInviteLinkWithJoinRequest or ChatInviteLinkWithLimitedMembers

Constructors

Link copied to clipboard
constructor(inviteLink: String, creator: User, name: String? = null, 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 = "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