ChannelAdminLogEventActionParticipantUnmute.deserialize constructor

ChannelAdminLogEventActionParticipantUnmute.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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