mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 15:26:54 +01:00
45 lines
738 B
Markdown
45 lines
738 B
Markdown
---
|
|
title: chatInviteLink
|
|
description: Contains chat invite link
|
|
---
|
|
## Constructor: chatInviteLink
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Contains chat invite link
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|invite\_link|[string](../types/string.md) | Yes|Chat invite link|
|
|
|
|
|
|
|
|
### Type: [ChatInviteLink](../types/ChatInviteLink.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$chatInviteLink = ['_' => 'chatInviteLink', 'invite_link' => 'string'];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "chatInviteLink", "invite_link": "string"}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
chatInviteLink={_='chatInviteLink', invite_link='string'}
|
|
|
|
```
|
|
|
|
|