MadelineProtoDocs/old_docs/API_docs_v6/constructors/chatInvite.md
2020-06-16 17:50:25 +02:00

39 lines
638 B
Markdown

---
title: chatInvite
description: Chat invite info
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: chatInvite
[Back to constructors index](index.md)
Chat invite info
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|title|[string](../types/string.md) | Yes|Chat/supergroup/channel title|
### Type: [ChatInvite](../types/ChatInvite.md)
### Example:
```php
$chatInvite = ['_' => 'chatInvite', 'title' => 'string'];
```
Or, if you're into Lua:
```lua
chatInvite={_='chatInvite', title='string'}
```