Raw.contacts.GetContactIDs

Raw.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).

contacts.getContactIDs#7adc669d hash:long = Vector<int>;
export namespace Raw {
  export namespace contacts {
    export class GetContactIDs {
      constructor(params: { hash: bigint }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x7adc669d

Property

  • hash : bigint

    Hash used for caching, for more info click here

Results

Array of number