RequirementToContact#

class pyrogram.raw.base.RequirementToContact[source]#

Specifies a requirement that must be satisfied in order to contact a user.

Constructors:

This base type has 3 constructors available.

RequirementToContactEmpty

Telegram API type.

RequirementToContactPaidMessages

Telegram API type.

RequirementToContactPremium

Telegram API type.

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.