CreateInvite

@Serializable
data class CreateInvite(val expiresInSeconds: Int = 86400, val maxUses: Int, val temporaryMembership: Boolean, val doNotAttemptReuse: Boolean, val targetUserId: String? = null, val targetUserType: Int? = null)(source)

Constructors

Link copied to clipboard
constructor(expiresInSeconds: Int = 86400, maxUses: Int, temporaryMembership: Boolean, doNotAttemptReuse: Boolean, targetUserId: String? = null, targetUserType: Int? = null)

Properties

Link copied to clipboard
@SerialName(value = "unique")
val doNotAttemptReuse: Boolean
Link copied to clipboard
@SerialName(value = "max_age")
val expiresInSeconds: Int = 86400
Link copied to clipboard
@SerialName(value = "max_uses")
val maxUses: Int
Link copied to clipboard
@SerialName(value = "target_user")
val targetUserId: String? = null
Link copied to clipboard
@SerialName(value = "target_user_type")
val targetUserType: Int? = null
Link copied to clipboard
@SerialName(value = "temporary")
val temporaryMembership: Boolean