ChannelAdminLogEventActionUpdatePinned.deserialize constructor

ChannelAdminLogEventActionUpdatePinned.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory ChannelAdminLogEventActionUpdatePinned.deserialize(
    BinaryReader reader) {
  // Read [ChannelAdminLogEventActionUpdatePinned] fields.
  final message = reader.readObject() as MessageBase;

  // Construct [ChannelAdminLogEventActionUpdatePinned] object.
  final returnValue = ChannelAdminLogEventActionUpdatePinned(
    message: message,
  );

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