MessagesGetRecentReactions.deserialize constructor

MessagesGetRecentReactions.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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