mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 16:50:37 +01:00
31 lines
905 B
Markdown
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];
|
|
```
|