RequirementToContactPaidMessages

class pyrogram.raw.types.RequirementToContactPaidMessages

This user requires us to pay the specified amount of Telegram Stars to send them a message, see here » for the full flow.

Constructor of RequirementToContact.

Details:
  • Layer: 223

  • ID: B4F67E93

Parameters:

stars_amount (int 64-bit) – The required amount of Telegram Stars.

Functions:

This object can be returned by 1 function.

users.GetRequirementsToContact

Check whether we can write to the specified users, used to implement bulk checks for Premium-only messages » and paid messages ».

TL Schema

requirementToContactPaidMessages#b4f67e93
stars_amount:long

= RequirementToContact

Parameter Tree

RequirementToContactPaidMessages
└── stars_amountlong

Example

RequirementToContactPaidMessages(
    stars_amount=0,
)