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

Example in the docs website is either wrong/outdated #208

Open
luigimorel opened this issue Jul 27, 2023 · 2 comments
Open

Example in the docs website is either wrong/outdated #208

luigimorel opened this issue Jul 27, 2023 · 2 comments
Labels
type: docs update documentation change not affecting the code

Comments

@luigimorel
Copy link

Issue Summary

The docs https://www.twilio.com/docs/whatsapp/quickstart/go and the example in the README are not the same.
I could figure out how to use the example in the docs until I visited the repository only to realize that I was using the wrong method, in this case twilio.NewRestClient() instead of twilio.NewRestClientWithParams() to pass the token and SID.

Steps to Reproduce

  1. Visit https://www.twilio.com/docs/whatsapp/quickstart/go
  2. Visit the README here
  3. Compare the examples

Code Snippet

None

Exception/Log

# paste exception/log here

Technical details:

  • twilio-go version: N/A
  • go version: N/A
@kevinburkesegment
Copy link

Hi Luigi,
Thank you very much for bringing this to our attention - we'll take a look.

@sbansla sbansla added the type: docs update documentation change not affecting the code label Aug 9, 2023
@tiwarishubham635
Copy link
Contributor

Hi @luigimorel! The documentation refers to sending a whatsApp messaging while readme does not provide that. We think both are updated. Can you check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs update documentation change not affecting the code
Projects
None yet
Development

No branches or pull requests

4 participants