InvokeWithoutUpdates.deserialize constructor

InvokeWithoutUpdates.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory InvokeWithoutUpdates.deserialize(BinaryReader reader) {
  // Read [InvokeWithoutUpdates] fields.
  final query = reader.readObject() as TlMethod;

  // Construct [InvokeWithoutUpdates] object.
  final returnValue = InvokeWithoutUpdates(
    query: query,
  );

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