setContentTemplate
Adds ContentTemplate SID for the message. This overload uses default variables values. Use setContentTemplate to specify custom variable values. Adding non-null content SID converts message to a rich message. In this case other fields are ignored and message is sent using content from the the ContentTemplate Use getContentTemplates to request all available ContentTemplates.
Return
Self for chaining.
Parameters
SID of the ContentTemplate
Adds ContentTemplate SID for the message. This overload receives custom variables values. Use setContentTemplate to send rich message with default variable values. Adding non-null content SID converts message to a rich message. In this case other fields are ignored and message is sent using content from the the ContentTemplate Use getContentTemplates to request all available ContentTemplates.
Return
Self for chaining.
Parameters
SID of the ContentTemplate
Custom variables to resolve the template.