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