account.PaidMessagesRevenue#

class pyrogram.raw.types.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.

Constructor of PaidMessagesRevenue.

Details:
  • Layer: 220

  • ID: 1E109708

Parameters:

stars_amount (int 64-bit) – Amount in Stars.

Functions:

This object can be returned by 1 function.

account.GetPaidMessagesRevenue

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.