MadelineProtoDocs/docs/API_docs/constructors/chatInvitePeek.md
2024-05-01 14:53:46 +02:00

31 lines
905 B
Markdown

---
title: "chatInvitePeek"
description: "A chat invitation that also allows peeking into the group to read messages without joining it."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: chatInvitePeek
[Back to constructors index](/API_docs/constructors/index.html)
A chat invitation that also allows peeking into the group to read messages without joining it.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat|[Chat](/API_docs/types/Chat.html) | Optional|Chat information|
|expires|[int](/API_docs/types/int.html) | Yes|Read-only anonymous access to this group will be revoked at this date|
### Type: [ChatInvite](/API_docs/types/ChatInvite.html)
### Example:
```
$chatInvitePeek = ['_' => 'chatInvitePeek', 'chat' => Chat, 'expires' => int];
```