contacts.getSaved #
Get all contacts, requires a takeout session, see here » for more info.¶
Layer 223
---functions---
contacts.getSaved#82f1e39f = Vector<SavedContact>; Parameters #
This constructor does not require any parameters.¶
Result #
Only users can use this method #
Possible 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. |
Related pages #
Takeout API #
Telegram's API allows users to export all of their information through the takeout API.¶