 extension TelegramBot {
 	/// Perform synchronous request.
 	/// - Returns: JsonConvertible on success. Nil on error, in which case `lastError` contains the details.
-	public func requestSync<Result>(_ endpoint: String, _ parameters: [String: Any?] = [:]) -> Result? where Result: JsonConvertible {
+	internal func requestSync<Result>(_ endpoint: String, _ parameters: [String: Any?] = [:]) -> Result? where Result: JsonConvertible {
 		
 		var retval: Result!
 		let sem = DispatchSemaphore(value: 0)

	
	/// Perform asynchronous request.
	/// - Returns: JsonConvertible on success. Nil on error, in which case `error` contains the details.
	internal func requestAsync<Result>(_ endpoint: String, _ parameters: [String: Any?]?..., queue: DispatchQueue = DispatchQueue.main, completion: ((_ result: Result?, _ error: DataTaskError?) -> ())?) where Result: JsonConvertible {
		requestAsync(endpoint, mergeParameters(parameters), queue: queue, completion: completion)
	}
	

	
	/// Perform synchronous request.
	/// - Returns: array of JsonConvertibles on success. Nil on error, in which case `lastError` contains the details.
	public func requestSync<Result>(_ endpoint: String, _ parameters: [String: Any?]?...) -> [Result]? where Result: JsonConvertible {
		return requestSync(endpoint, mergeParameters(parameters))
	}
	
