ChatlistsGetExportedInvites.deserialize constructor

ChatlistsGetExportedInvites.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory ChatlistsGetExportedInvites.deserialize(BinaryReader reader) {
  // Read [ChatlistsGetExportedInvites] fields.
  final chatlist = reader.readObject() as InputChatlistBase;

  // Construct [ChatlistsGetExportedInvites] object.
  final returnValue = ChatlistsGetExportedInvites(
    chatlist: chatlist,
  );

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