Layer 227
constructor
messages.exportedChatInviteReplaced#222600ef invite:ExportedChatInvite new_invite:ExportedChatInvite users:Vector<User> = messages.ExportedChatInvite;

Parameters

Name Type Description
Invite ExportedChatInvite The replaced chat invite
NewInvite ExportedChatInvite The invite that replaces the previous invite
Users Vector < User > Mentioned users

Gogram Example

// Creating MessagesExportedChatInviteReplaced constructor
obj := &tg.MessagesExportedChatInviteReplaced{
    Invite: &tg.ExportedChatInvite{},
    NewInvite: &tg.ExportedChatInvite{},
    Users: &tg.VectorUser{},
}