Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(sdk-go): mark CreateSessionRequest.ProxyType deprecated
Yudhi Armyndharisdea156b143da
diff --git a/sdk/go/types_session.go b/sdk/go/types_session.goindex dd4a42c98..5bdbb0ce0 100644--- a/sdk/go/types_session.go+++ b/sdk/go/types_session.go@@ -183,13 +183,13 @@ const (ProxySOCKS5 ProxyType = "socks5")-// CreateSessionRequest is the body for creating a session. ProxyType is one of:-// http, https, socks4, socks5.+// CreateSessionRequest is the body for creating a session.type CreateSessionRequest struct {- Name string `json:"name"`- Config map[string]any `json:"config,omitempty"`- ProxyURL string `json:"proxyUrl,omitempty"`- ProxyType ProxyType `json:"proxyType,omitempty"`+ Name string `json:"name"`+ Config map[string]any `json:"config,omitempty"`+ ProxyURL string `json:"proxyUrl,omitempty"`+ // Deprecated: ignored by the server; the ProxyURL scheme selects the proxy protocol.+ ProxyType ProxyType `json:"proxyType,omitempty"`}// SessionProxy is the masked per-session proxy configuration returned by GET/PATCH /proxy.