InputDialogPeerCommunity.deserialize constructor

InputDialogPeerCommunity.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory InputDialogPeerCommunity.deserialize(BinaryReader reader) {
  // Read [InputDialogPeerCommunity] fields.
  final community = reader.readObject() as InputChannelBase;

  // Construct [InputDialogPeerCommunity] object.
  final returnValue = InputDialogPeerCommunity(community: community);

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