MadelineProtoDocs/docs/TD_docs/methods/setProxy.md

24 lines
640 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: setProxy
description: Sets proxy server for network requests. Can be called before authorization
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
## Method: setProxy
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Sets proxy server for network requests. Can be called before authorization
### Parameters:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|proxy|[Proxy](../types/Proxy.md) | Optional|The proxy to use. You can specify null to remove proxy server|
### Return type: [Ok](../types/Ok.md)