diff --git a/docs/platforms/unity/user-feedback/index.mdx b/docs/platforms/unity/user-feedback/index.mdx index 613677007b209..4b86029fa410b 100644 --- a/docs/platforms/unity/user-feedback/index.mdx +++ b/docs/platforms/unity/user-feedback/index.mdx @@ -15,18 +15,11 @@ User Feedback for **[ASP.NET](/platforms/dotnet/guides/aspnet/user-feedback/#int -You can create a form to collect the user input in your preferred framework, and use the SDK's API to send the information to Sentry. You can also use the widget, as described below. If you'd prefer an alternative to the widget or do not have a JavaScript frontend, you can use this API: +You can create a form to collect the user input in your preferred framework, and use the SDK's API to send the information to Sentry. You can also use the widget, as described below. If you'd prefer an alternative to the widget or do not have a web frontend, you can use this API: ```csharp {tabTitle:C#} var eventId = SentrySdk.CaptureMessage("An event that will receive user feedback."); -SentrySdk.CaptureUserFeedback(eventId, "user@example.com", "It broke.", "The User"); +SentrySdk.CaptureFeedback("It broke.", "user@example.com", "The User", associatedEventId: eventId); ``` -```fsharp {tabTitle:F#} -open Sentry - -let eventId = SentrySdk.CaptureMessage("An event that will receive user feedback.") - -SentrySdk.CaptureUserFeedback(eventId, "user@example.com", "It broke.", "The User") -```