contacts.GetBlocked

class pyrogram.raw.functions.contacts.GetBlocked

Returns the list of blocked users.

Details:
  • Layer: 223

  • ID: 9A868F80

Parameters:
  • offset (int 32-bit) – The number of list elements to be skipped

  • limit (int 32-bit) – The number of list elements to be returned

  • my_stories_from (bool, optional) – Whether to fetch the story blocklist; if not set, will fetch the main blocklist. See here » for differences between the two.

Returns:

contacts.Blocked

TL Schema

contacts.getBlocked#9a868f80
flags:#
my_stories_from:flags.0?true
offset:int
limit:int

= contacts.Blocked

Parameter Tree

GetBlocked
├── my_stories_fromtrue (optional)
├── offsetint
└── limitint

Example

await app.invoke(
    GetBlocked(
        my_stories_from=None,
        offset=0,
        limit=0,
    )
)