Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messages API Webhook Sample Requested #97

Open
sir-luke-coop opened this issue Aug 18, 2023 · 0 comments
Open

Messages API Webhook Sample Requested #97

sir-luke-coop opened this issue Aug 18, 2023 · 0 comments

Comments

@sir-luke-coop
Copy link

Howdy!

I'm interested in some sample code for the Messages API webhooks - specifically Delivery Receipt and Inbound Message. Pretty much what the SmsController does: https://github.com/Vonage/vonage-dotnet-code-snippets/blob/master/DotNetWebhookCodeSnippets/Controllers/SmsController.cs

Related:

  1. Missing Delivery receipt class for WhatsApp messages vonage-dotnet-sdk#297
  2. Missing InboudMessage class for WhatsApp messages vonage-dotnet-sdk#298

Ideally, I could just replace:
"var sms = WebhookParser.ParseQuery(Request.Query);"
with
"var message = WebhookParser.ParseQuery(Request.Query);"

At least, I think that is ideal. Is there already a way? If so, please point me in the right direction.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant