TwilioSmsOutput Interface

Definition

Place this on a parameter whose value would be sent through twilio SMS. The parameter type should be OutputBinding, where T could be one of:

  • Any native Java types such as int, String, byte[]
  • Any POJO type
public interface TwilioSmsOutput implements Annotation
Implements
java.lang.annotation.Annotation

Methods

accountSid()

Defines the account SID of Twilio SMS to send.

authToken()

Defines the authorization token of Twilio SMS to send.

body()

Defines the content body of Twilio SMS to send.

dataType()

Defines how Functions runtime should treat the parameter value. Possible values are:

  • "" or string: treat it as a string whose value is serialized from the parameter
  • binary: treat it as a binary data whose value comes from for example OutputBinding<byte[]>
from()

Defines the source of Twilio SMS to send.

name()

The variable name used in function.json.

to()

Defines the target of Twilio SMS to send.

Applies to