Layer 220
UsersGetRequirementsToContact
Check whether we can write to the specified users, used to implement bulk checks for Premium-only messages and paid messages.
method
Users
users.getRequirementsToContact#d89a83a3 id:Vector<InputUser> = Vector<RequirementToContact>;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | Vector<InputUser> | Users to check. |
Returns
VectorGogram Example
// UsersGetRequirementsToContact - positional arguments result, err := client.UsersGetRequirementsToContact([]tg.InputUser{&tg.InputUserSelf{}}) if err != nil { // handle error } // result is *tg.Vector