Shouldn't the instances of "SMSMessage" throughout this page be "CreateMessageOptions" (at least for Functions 2.x)? For example, in https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-twilio#2x-c-example, shouldn't the function declaration be:
public static CreateMessageOptions Run(
...
If this is not correct, then what is the namespace for the SMSMessage class? (The using statements aren't shown in the code sample.)
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@blackcrater Thanks for the feedback! We are currently investigating and will update you shortly.
@tdykstra can you take a look at this one? I am not overly familiar with the SMSMessage properties.
@codemillmatt Do you know the answer to this question?
Yes - it should be CreateMessageOptions in the 2.x samples. I'll put in a PR to update this today.
Merged in - updates will appear shortly
Most helpful comment
Yes - it should be
CreateMessageOptionsin the 2.x samples. I'll put in a PR to update this today.