GetBlockedRequest
Only users can use this method. See code examples.
---functions--- contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked
Returns
| contacts.Blocked |
This type can be an instance of either:
| Blocked | BlockedSlice |
Parameters
| offset | int | |
| limit | int |
Known RPC errors
This request can't cause any RPC error as far as we know.
Example
from telethon.sync import TelegramClient
from telethon import functions, types
with TelegramClient(name, api_id, api_hash) as client:
result = client(functions.contacts.GetBlockedRequest(
offset=42,
limit=100
))
print(result.stringify())