MadelineProtoDocs/old_docs/API_docs_v44/constructors/chatInvitePeek.md

38 lines
673 B
Markdown
Raw Permalink Normal View History

2020-10-01 18:05:42 +02:00
---
title: chatInvitePeek
description: chatInvitePeek attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: chatInvitePeek
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|chat|[Chat](../types/Chat.md) | Optional|
|expires|[int](../types/int.md) | Yes|
### Type: [ChatInvite](../types/ChatInvite.md)
### Example:
```php
$chatInvitePeek = ['_' => 'chatInvitePeek', 'chat' => Chat, 'expires' => int];
```
Or, if you're into Lua:
```lua
chatInvitePeek={_='chatInvitePeek', chat=Chat, expires=int}
```