mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 00:46:56 +01:00
23 lines
410 B
Markdown
23 lines
410 B
Markdown
---
|
|
title: blockUser
|
|
description: Adds user to black list
|
|
---
|
|
## Method: blockUser
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Adds user to black list
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|user\_id|[int](../types/int.md) | Yes|User identifier|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|