@Retention(value=RUNTIME) @Target(value={PARAMETER,METHOD}) public @interface TwilioSmsOutput
Place this on a parameter whose value would be sent through twilio SMS. The parameter type should be OutputBinding<T>, where T could be one of:
| Modifier and Type | Required Element and Description |
|---|---|
String |
accountSid
Defines the account SID of Twilio SMS to send.
|
String |
authToken
Defines the authorization token of Twilio SMS to send.
|
String |
body
Defines the content body of Twilio SMS to send.
|
String |
from
Defines the source of Twilio SMS to send.
|
String |
name
The variable name used in function.json.
|
String |
to
Defines the target of Twilio SMS to send.
|
public abstract String name
public abstract String accountSid
public abstract String authToken
public abstract String to
public abstract String from
public abstract String body
public abstract String dataType
Defines how Functions runtime should treat the parameter value. Possible values are:
Copyright © 2022. All rights reserved.