InputPeerColorCollectible.deserialize constructor

InputPeerColorCollectible.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

  // Construct [InputPeerColorCollectible] object.
  final returnValue = InputPeerColorCollectible(collectibleId: collectibleId);

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