lib/tdlib/client_methods.rb
# Edits an existing proxy server for network requests.
# Can be called before authorization.
#
# @param proxy_id [Integer] Proxy identifier.
# @param server [TD::Types::String] Proxy server IP address.
# @param port [Integer] Proxy server port.
# @param enable [Boolean] True, if the proxy needs to be enabled.
# @param type [TD::Types::ProxyType] Proxy type.
# @return [TD::Types::Proxy]
Edits an existing proxy server for network requests.
Can be called before authorization.
Edits an existing proxy server for network requests . Can be called before authorization .
def edit_proxy(proxy_id:, server:, port:, enable:, type:)
    broadcast('@type'    => 'editProxy',
              'proxy_id' => proxy_id,
              'server'   => server,
              'port'     => port,
              'enable'   => enable,
              'type'     => type)
  end
def edit_proxy ( proxy_id : , server : , port : , enable : , type : ) broadcast ( '@type' => 'editProxy' , 'proxy_id' => proxy_id , 'server' => server , 'port' => port , 'enable' => enable , 'type' => type ) end
Edits an existing proxy server for network requests.
Edits an existing proxy server for network requests .
None
TD::Types::Proxy
proxy_id
None
server
Proxy server IP address.
Proxy server IP address .
port
Proxy server port.
Proxy server port .
enable
True, if the proxy needs to be enabled.
True if the proxy needs to be enabled .
type
None