account.PaidMessagesRevenue
- class pyrogram.raw.base.account.PaidMessagesRevenue
Total number of non-refunded Telegram Stars a user has spent on sending us messages either directly or through a channel, see here » for more info on paid messages.
- Constructors:
This base type has 1 constructor available.
Total number of non-refunded Telegram Stars a user has spent on sending us messages either directly or through a channel, see here » for more info on paid messages.
- Functions:
This object can be returned by 1 function.
Get the number of stars we have received from the specified user thanks to paid messages »; the received amount will be equal to the sent amount multiplied by stars_paid_message_commission_permille divided by 1000.
TL Schema
account.paidMessagesRevenue#1e109708
stars_amount:long
= account.PaidMessagesRevenue
Parameter Tree
PaidMessagesRevenue
└── stars_amount →
longExample
PaidMessagesRevenue(
stars_amount=0,
)