lib/tdlib/client_methods.rb
def send_custom_request(method:, parameters:)
    broadcast('@type'      => 'sendCustomRequest',
              'method'     => method,
              'parameters' => parameters)
  end
# Sends a custom request; for bots only.
#
# @param method [TD::Types::String] The method name.
# @param parameters [TD::Types::String] JSON-serialized method parameters.
# @return [TD::Types::CustomRequestResult]
Sends a custom request; for bots only.
Sends a custom request ; for bots only .
def send_custom_request(method:, parameters:)
    broadcast('@type'      => 'sendCustomRequest',
              'method'     => method,
              'parameters' => parameters)
  end
def send_custom_request ( method : , parameters : ) broadcast ( '@type' => 'sendCustomRequest' , 'method' => method , 'parameters' => parameters ) end
Sends a custom request; for bots only.
Sends a custom request ; for bots only .
None
TD::Types::CustomRequestResult
method
The method name.
The method name .
parameters
JSON-serialized method parameters.
JSON - serialized method parameters .