users.getRequirementsToContact #
Check whether we can write to the specified users, used to implement bulk checks for Premium-only messages » and paid messages ».¶
For each input user, returns a RequirementToContact constructor (at the same offset in the vector) containing requirements to contact them.¶
Layer 223
---functions---
users.getRequirementsToContact#d89a83a3 id:Vector<InputUser> = Vector<RequirementToContact>; Parameters #
| Name | Type | Description |
|---|---|---|
| id | Vector<InputUser> | Users to check. |
Result #
Only users can use this method #
Related pages #
Privacy settings #
Telegram allows users to specify granular privacy settings, choosing which users can or can't interact with them in certain ways.¶
Paid messages #
Telegram Stars can be used to pay for sending messages to users, supergroups and channels that have configured paid messages, requiring a payment for every message sent to them.¶
RequirementToContact #
Specifies a requirement that must be satisfied in order to contact a user.¶