Link Search Menu Expand Document

Constructor: chatInvitePeek

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
chatChatOptionalChat information
expiresintYesRead-only anonymous access to this group will be revoked at this date

Type: ChatInvite

Example:

$chatInvitePeek = ['_' => 'chatInvitePeek', 'chat' => Chat, 'expires' => int];