import Foundation #if canImport(FoundationNetowrking) import FoundationNetworking #endif public struct Bot { let client: ApiClient public init(token: String) async throws { client = ApiClient(token: token) let gatewayURL = try await client.getGatewayURL() print(gatewayURL.absoluteURL) let gateway = GatewayClient(gatewayURL: gatewayURL) try await gateway.openConnection() } }