MadelineProtoDocs/old_docs/API_docs_v8/constructors/chatForbidden.md

40 lines
844 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: chatForbidden
description: A group to which the user has no access. E.g., because the user was kicked from the group.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: chatForbidden
[Back to constructors index](index.md)
A group to which the user has no access. E.g., because the user was kicked from the group.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[int](../types/int.md) | Yes|User identifier|
|title|[string](../types/string.md) | Yes|Group name|
### Type: [Chat](../types/Chat.md)
### Example:
```php
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string'];
```
Or, if you're into Lua:
```lua
chatForbidden={_='chatForbidden', id=int, title='string'}
```