Don't mark boostChat as constant.

This commit is contained in:
levlam 2024-07-26 19:02:05 +03:00
parent b42009a433
commit 52618cd448
2 changed files with 2 additions and 2 deletions

View File

@ -7035,7 +7035,7 @@ void Td::on_request(uint64 id, const td_api::getChatBoostStatus &request) {
boost_manager_->get_dialog_boost_status(DialogId(request.chat_id_), std::move(promise));
}
void Td::on_request(uint64 id, const td_api::boostChat &request) {
void Td::on_request(uint64 id, td_api::boostChat &request) {
CHECK_IS_USER();
CREATE_REQUEST_PROMISE();
boost_manager_->boost_dialog(DialogId(request.chat_id_), std::move(request.slot_ids_), std::move(promise));

View File

@ -1235,7 +1235,7 @@ class Td final : public Actor {
void on_request(uint64 id, const td_api::getChatBoostStatus &request);
void on_request(uint64 id, const td_api::boostChat &request);
void on_request(uint64 id, td_api::boostChat &request);
void on_request(uint64 id, const td_api::getChatBoostLink &request);