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)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifBannedChatMember(block: (BannedChatMember) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifBaseInlineQuery(block: (BaseInlineQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCallbackQuery(block: (CallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatInviteLink(block: (ChatInviteLink) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifChatJoinRequest(block: (ChatJoinRequest) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatMember(block: (ChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChosenInlineResult(block: (ChosenInlineResult) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifDataCallbackQuery(block: (DataCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifFromUser(block: (FromUser) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifFromUserMessage(block: (FromUserMessage) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifInlineQuery(block: (InlineQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifKickedChatMember(block: (KickedChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLeftChatMember(block: (LeftChatMember) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifLeftChatMemberImpl(block: (LeftChatMemberImpl) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifMemberChatMember(block: (MemberChatMember) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifOwnerChatMember(block: (OwnerChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPassportMessage(block: (PassportMessage) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPollAnswer(block: (PollAnswer) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPreCheckoutQuery(block: (PreCheckoutQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPrimaryInviteLink(block: (PrimaryInviteLink) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifShippingQuery(block: (ShippingQuery) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
open override val creator: User
Link copied to clipboard
open override val expirationDateTime: DateTime?
Link copied to clipboard
open override val inviteLink: String
Link copied to clipboard
open val isPrimary: Boolean
Link copied to clipboard
open override val isRevoked: Boolean = false
Link copied to clipboard
open override val name: String?
Link copied to clipboard
open override val user: User