PhoneGetGroupCallChainBlocks.deserialize constructor
PhoneGetGroupCallChainBlocks.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory PhoneGetGroupCallChainBlocks.deserialize(BinaryReader reader) {
// Read [PhoneGetGroupCallChainBlocks] fields.
final call = reader.readObject() as InputGroupCallBase;
final subChainId = reader.readInt32();
final offset = reader.readInt32();
final limit = reader.readInt32();
// Construct [PhoneGetGroupCallChainBlocks] object.
final returnValue = PhoneGetGroupCallChainBlocks(
call: call,
subChainId: subChainId,
offset: offset,
limit: limit,
);
// Now return the deserialized [PhoneGetGroupCallChainBlocks].
return returnValue;
}