AffiliateInfo

@Serializable
data class AffiliateInfo(val commissionPerMille: Int, val amount: Long, val nanostarAmount: Long, val affiliateUser: User? = null, val affiliateChat: PreviewChat? = null) : Amounted

Constructors

Link copied to clipboard
constructor(commissionPerMille: Int, amount: Long, nanostarAmount: Long, affiliateUser: User? = null, affiliateChat: PreviewChat? = null)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "affiliate_chat")
val affiliateChat: PreviewChat? = null
Link copied to clipboard
@SerialName(value = "affiliate_user")
val affiliateUser: User? = null
Link copied to clipboard
@SerialName(value = "amount")
open override val amount: Long
Link copied to clipboard
@SerialName(value = "commission_per_mille")
val commissionPerMille: Int
Link copied to clipboard
@SerialName(value = "nanostar_amount")
val nanostarAmount: Long