RequirementToContact#
- class pyrogram.raw.base.RequirementToContact#
Specifies a requirement that must be satisfied in order to contact a user.
- Constructors:
This base type has 3 constructors available.
This user can be freely contacted.
This user requires us to pay the specified amount of Telegram Stars to send them a message, see here for the full flow.
This user requires us to buy a Premium subscription in order to contact them.
- Functions:
This object can be returned by 1 function.
Check whether we can write to the specified users, used to implement bulk checks for Premium-only messages and paid messages .