Link Search Menu Expand Document

Constructor: messages.exportedChatInviteReplaced

Back to constructors index

The specified chat invite was replaced with another one

Attributes:

NameTypeRequiredDescription
inviteExportedChatInviteYesThe replaced chat invite
new_inviteExportedChatInviteYesThe invite that replaces the previous invite
usersArray of UserYesMentioned users

Type: messages.ExportedChatInvite

Example:

$messages_exportedChatInviteReplaced = ['_' => 'messages.exportedChatInviteReplaced', 'invite' => ExportedChatInvite, 'new_invite' => ExportedChatInvite, 'users' => [User, User]];