Layer 220
RequirementToContact
Abstract type representing one of 3 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.RequirementToContact interface.
Use any of the following constructors:
RequirementToContactEmpty
This user can be freely contacted.
RequirementToContactPremium
This user requires us to buy a Premium subscription in order to contact them.
RequirementToContactPaidMessages
This user requires us to pay the specified amount of Telegram Stars to send them a message, see here
Gogram Example
// RequirementToContact is an interface type // You can use any of the following constructors: var _ tg.RequirementToContact = &tg.RequirementToContactEmpty{} var _ tg.RequirementToContact = &tg.RequirementToContactPremium{} var _ tg.RequirementToContact = &tg.RequirementToContactPaidMessages{}