contacts.getSaved

Get all contacts, requires a takeout session, see here » for more info.

 Method schema is available as of layer 81. Switch »

Parameters

This constructor does not require any parameters.

Result

Vector<SavedContact>

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.