ChannelAdminLogEventActionParticipantVolume.deserialize constructor

ChannelAdminLogEventActionParticipantVolume.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory ChannelAdminLogEventActionParticipantVolume.deserialize(
    BinaryReader reader) {
  // Read [ChannelAdminLogEventActionParticipantVolume] fields.
  final participant = reader.readObject() as GroupCallParticipantBase;

  // Construct [ChannelAdminLogEventActionParticipantVolume] object.
  final returnValue = ChannelAdminLogEventActionParticipantVolume(
    participant: participant,
  );

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