ContactsSetBlocked.deserialize constructor
ContactsSetBlocked.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory ContactsSetBlocked.deserialize(BinaryReader reader) {
// Read [ContactsSetBlocked] fields.
final flags = reader.readInt32();
final myStoriesFrom = (flags & 1) != 0;
final id = reader.readVectorObject<InputPeerBase>();
final limit = reader.readInt32();
// Construct [ContactsSetBlocked] object.
final returnValue = ContactsSetBlocked(
myStoriesFrom: myStoriesFrom,
id: id,
limit: limit,
);
// Now return the deserialized [ContactsSetBlocked].
return returnValue;
}