InputStickerSetID.deserialize constructor

InputStickerSetID.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory InputStickerSetID.deserialize(BinaryReader reader) {
  // Read [InputStickerSetID] fields.
  final id = reader.readInt64();
  final accessHash = reader.readInt64();

  // Construct [InputStickerSetID] object.
  final returnValue = InputStickerSetID(
    id: id,
    accessHash: accessHash,
  );

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