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