account.GetPaidMessagesRevenue#
- class pyrogram.raw.functions.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.
- Details:
Layer:
211
ID:
19BA4A67
- Parameters:
user_id (
InputUser
) – The user that paid to send us messages.parent_peer (
InputPeer
, optional) – If set, can contain the ID of a monoforum (channel direct messages) to obtain the number of stars the user has spent to send us direct messages via the channel.
- Returns:
account.PaidMessagesRevenue