Layer 220
ContactsGetSaved
Get all contacts, requires a takeout session, see here for more info.
method
Users
contacts.getSaved#82f1e39f = Vector<SavedContact>;
Returns
VectorPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | TAKEOUT_INVALID | The specified takeout ID is invalid. |
| 403 | TAKEOUT_REQUIRED | A takeout session needs to be initialized first, see here for more info. |
Gogram Example
// ContactsGetSaved - positional arguments result, err := client.ContactsGetSaved() if err != nil { // handle error } // result is *tg.Vector