contacts.GetContactIDs#

class pyrogram.raw.functions.contacts.GetContactIDs#

Get the telegram IDs of all contacts. Returns an array of Telegram user IDs for all contacts (0 if a contact does not have an associated Telegram account or have hidden their account using privacy settings).

Usable by Users Bots
Details:
  • Layer: 224

  • ID: 7ADC669D

Parameters:

hash (int 64-bit) – Hash used for caching, for more info click here

Returns:

List of int 32-bit