MessagesGetOldFeaturedStickers.deserialize constructor

MessagesGetOldFeaturedStickers.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MessagesGetOldFeaturedStickers.deserialize(BinaryReader reader) {
  // Read [MessagesGetOldFeaturedStickers] fields.
  final offset = reader.readInt32();
  final limit = reader.readInt32();
  final hash = reader.readInt64();

  // Construct [MessagesGetOldFeaturedStickers] object.
  final returnValue = MessagesGetOldFeaturedStickers(
    offset: offset,
    limit: limit,
    hash: hash,
  );

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