TransactionPartnerAffiliateProgram

telegramium.bots.TransactionPartnerAffiliateProgram
final case class TransactionPartnerAffiliateProgram(commissionPerMille: Int, sponsorUser: Option[User]) extends TransactionPartner

Describes the affiliate program that issued the affiliate commission received via this transaction.

Value parameters

commissionPerMille

The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users

sponsorUser

Optional. Information about the bot that sponsored the affiliate program

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product