Raw.contacts.GetTopPeers

Raw.contacts.GetTopPeers

Get most used peers

contacts.getTopPeers#973478b6 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true bots_app:flags.16?true offset:int limit:int hash:long = contacts.TopPeers;
export namespace Raw {
  export namespace contacts {
    export class GetTopPeers {
      constructor(params: {
        correspondents?: boolean;
        botsPm?: boolean;
        botsInline?: boolean;
        phoneCalls?: boolean;
        forwardUsers?: boolean;
        forwardChats?: boolean;
        groups?: boolean;
        channels?: boolean;
        botsApp?: boolean;
        offset: number;
        limit: number;
        hash: bigint;
      }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0x973478b6

Property

Results

Raw.contacts.TypeTopPeers