# chatInvitePeek

> A chat invitation that also allows peeking into the group to read messages without joining it.

[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];
```
