twilio / sample-code

Auto-generated code samples for the Twilio REST API
https://www.twilio.com/docs
35 stars 69 forks source link

Incorrect output example #101

Open jmadden opened 5 years ago

jmadden commented 5 years ago

The output for this code sample is incorrect: https://github.com/twilio/sample-code/blob/master/chat/v2/message/read-messages/read-messages.6.x.py

The code sample uses the .list() method, but the output in the documentation here https://www.twilio.com/docs/chat/rest/messages?code-sample=code-list-all-messages&code-language=Python&code-sdk-version=6.x is showing as if the code sample was using the .page() method.