MadelineProtoDocs/old_docs/API_docs_v86/constructors/chatForbidden.md

46 lines
798 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: chatForbidden
description: Chat forbidden
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: chatForbidden
[Back to constructors index](index.md)
Chat forbidden
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[int](../types/int.md) | Yes|ID|
|title|[string](../types/string.md) | Yes|Title|
### Type: [Chat](../types/Chat.md)
### Example:
```php
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatForbidden", "id": int, "title": "string"}
```
Or, if you're into Lua:
```lua
chatForbidden={_='chatForbidden', id=int, title='string'}
```