team-telnyx / telnyx-dotnet

.NET SDK for the Telnyx API
MIT License
9 stars 9 forks source link

Update MessaginProfileListOptions #47

Closed thedonmon closed 3 years ago

thedonmon commented 3 years ago

Implementation was MessagingProfileListOptions object was not necessary so using default ListOptions for paging. Closes #35

thedonmon commented 3 years ago

@eoghantelnyx https://developers.telnyx.com/docs/api/v2/messaging/Messaging-Profiles?lang=net#listMessagingProfilePhoneNumbers needs to be updated in the docs to be this instead:

TelnyxConfiguration.SetApiKey('YOUR_API_KEY');

var service = new  MessagingProfilePhoneNumbersService();
var listOptions = new ListOptions(); //optional
service.List("id", listOptions);