ChannelAdminLogEventActionParticipantMute.deserialize constructor

ChannelAdminLogEventActionParticipantMute.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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