UpdateGroupCallConnection.deserialize constructor

UpdateGroupCallConnection.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory UpdateGroupCallConnection.deserialize(BinaryReader reader) {
  // Read [UpdateGroupCallConnection] fields.
  final flags = reader.readInt32();
  final presentation = (flags & 1) != 0;
  final params = reader.readObject() as DataJSONBase;

  // Construct [UpdateGroupCallConnection] object.
  final returnValue = UpdateGroupCallConnection(
    presentation: presentation,
    params: params,
  );

  // Now return the deserialized [UpdateGroupCallConnection].
  return returnValue;
}