// This is the source code of AyuGram for Desktop.
//
// We do not and cannot prevent the use of our code,
// but be respectful and credit the original author.
//
// Copyright @Radolyn, 2023
#pragma once

#include "base/timer.h"
#include "boxes/abstract_box.h"
#include "mtproto/sender.h"

class EditDeletedMarkBox : public Ui::BoxContent
{
public:
	EditDeletedMarkBox(QWidget *);

protected:
	void setInnerFocus() override;

	void prepare() override;

	void resizeEvent(QResizeEvent *e) override;

private:
	void submit();

	void save();

	object_ptr<Ui::InputField> _text;
};
