SendMessageUploadVideoAction.deserialize constructor

SendMessageUploadVideoAction.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory SendMessageUploadVideoAction.deserialize(BinaryReader reader) {
  // Read [SendMessageUploadVideoAction] fields.
  final progress = reader.readInt32();

  // Construct [SendMessageUploadVideoAction] object.
  final returnValue = SendMessageUploadVideoAction(
    progress: progress,
  );

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