ChannelAdminLogEventActionChangeAbout.deserialize constructor

ChannelAdminLogEventActionChangeAbout.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory ChannelAdminLogEventActionChangeAbout.deserialize(
    BinaryReader reader) {
  // Read [ChannelAdminLogEventActionChangeAbout] fields.
  final prevValue = reader.readString();
  final newValue = reader.readString();

  // Construct [ChannelAdminLogEventActionChangeAbout] object.
  final returnValue = ChannelAdminLogEventActionChangeAbout(
    prevValue: prevValue,
    newValue: newValue,
  );

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