contacts.Search

class pyrogram.raw.functions.contacts.Search

Returns users found by username substring.

Details:
  • Layer: 194

  • ID: 11F812D8

Parameters:
  • q (str) – Target substring

  • limit (int 32-bit) – Maximum number of users to be returned

Returns:

contacts.Found