MessagesDeleteRevokedExportedChatInvites.deserialize constructor

MessagesDeleteRevokedExportedChatInvites.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MessagesDeleteRevokedExportedChatInvites.deserialize(
    BinaryReader reader) {
  // Read [MessagesDeleteRevokedExportedChatInvites] fields.
  final peer = reader.readObject() as InputPeerBase;
  final adminId = reader.readObject() as InputUserBase;

  // Construct [MessagesDeleteRevokedExportedChatInvites] object.
  final returnValue = MessagesDeleteRevokedExportedChatInvites(
    peer: peer,
    adminId: adminId,
  );

  // Now return the deserialized [MessagesDeleteRevokedExportedChatInvites].
  return returnValue;
}