SendMessageHistoryImportAction.deserialize constructor

SendMessageHistoryImportAction.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory SendMessageHistoryImportAction.deserialize(BinaryReader reader) {
  // Read [SendMessageHistoryImportAction] fields.
  final progress = reader.readInt32();

  // Construct [SendMessageHistoryImportAction] object.
  final returnValue = SendMessageHistoryImportAction(
    progress: progress,
  );

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