PrimaryInviteLink

@Serializable
data class PrimaryInviteLink(val inviteLink: String, val creator: User, val isRevoked: Boolean = false, expireDate: TelegramDate? = null) : ChatInviteLink

Primary invite link in the chat for this bot

Constructors

Link copied to clipboard
constructor(inviteLink: String, creator: User, 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 val isPrimary: Boolean
Link copied to clipboard
@SerialName(value = "is_revoked")
open override val isRevoked: Boolean = false
Link copied to clipboard
open override val name: String?
Link copied to clipboard
open override val user: User