MessagesGetRecentStickers.deserialize constructor
MessagesGetRecentStickers.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory MessagesGetRecentStickers.deserialize(BinaryReader reader) {
// Read [MessagesGetRecentStickers] fields.
final flags = reader.readInt32();
final attached = (flags & 1) != 0;
final hash = reader.readInt64();
// Construct [MessagesGetRecentStickers] object.
final returnValue = MessagesGetRecentStickers(
attached: attached,
hash: hash,
);
// Now return the deserialized [MessagesGetRecentStickers].
return returnValue;
}