ChatInviteLinkWithJoinRequest

@Serializable
data class ChatInviteLinkWithJoinRequest(val inviteLink: String, val creator: User, val name: String? = null, val leftToReview: Int = 0, val isRevoked: Boolean = false, expireDate: TelegramDate? = null) : SecondaryChatInviteLink

Represent SecondaryChatInviteLink which will require an aprovement from one of the administrators

See also

ChatJoinRequest

Constructors

Link copied to clipboard
constructor(inviteLink: String, creator: User, name: String? = null, leftToReview: Int = 0, 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 = "pending_join_request_count")
val leftToReview: Int = 0
Link copied to clipboard
@SerialName(value = "name")
open override val name: String? = null
Link copied to clipboard
open override val user: User