Skip to content

Commit a991cc1

Browse files
committed
Update patch to v9.6 Bot API
1 parent 263387f commit a991cc1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎add_proxy/Client.cpp.patch‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- a/telegram-bot-api/Client.cpp
2-
+++ b/telegram-bot-api/Client.cpp
3-
@@ -8542,6 +8542,32 @@ void Client::on_update_authorization_state() {
1+
--- ./telegram-bot-api/Client.cpp 2026-04-03 19:13:52.837844110 +0300
2+
+++ Client.cpp 2026-04-03 19:13:11.519886744 +0300
3+
@@ -8743,6 +8743,32 @@
44
td::make_unique<TdOnOkCallback>());
55
}
66

@@ -21,9 +21,9 @@
2121
+
2222
+ if (proxy_type != nullptr) {
2323
+ auto proxy_obj = make_object<td_api::proxy>(
24-
+ parameters_->proxy_server_,
25-
+ parameters_->proxy_port_,
26-
+ std::move(proxy_type)
24+
+ parameters_->proxy_server_,
25+
+ parameters_->proxy_port_,
26+
+ std::move(proxy_type)
2727
+ );
2828
+ send_request(make_object<td_api::addProxy>(std::move(proxy_obj), true),
2929
+ td::make_unique<TdOnOkCallback>());

0 commit comments

Comments
 (0)