DialogPeerCommunity.deserialize constructor

DialogPeerCommunity.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory DialogPeerCommunity.deserialize(BinaryReader reader) {
  // Read [DialogPeerCommunity] fields.
  final communityId = reader.readInt64();

  // Construct [DialogPeerCommunity] object.
  final returnValue = DialogPeerCommunity(communityId: communityId);

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