ChangePhoneBox::EnterCode::EnterCode(QWidget*, const QString &phone, const QString &hash, int codeLength, int callTimeout) : _phone(phone) , _hash(hash) , _codeLength(codeLength) , _callTimeout(callTimeout) , _call([this] { sendCall(); }, [this] { updateCall(); }) { }
ConfirmPhoneBox::ConfirmPhoneBox(QWidget*, const QString &phone, const QString &hash) : _phone(phone) , _hash(hash) , _call(this, [this] { sendCall(); }, [this] { update(); }) { }