Interface IBuilderForText
- Namespace
- Vonage.VerifyV2.UpdateTemplateFragment
- Assembly
- Vonage.dll
Builder interface for setting the message text on an update fragment request.
public interface IBuilderForText
Methods
WithText(string)
Sets the new message text content with optional placeholders: ${code}, ${brand}, ${time-limit}, and ${time-limit-unit}.
IVonageRequestBuilder<UpdateTemplateFragmentRequest> WithText(string value)
Parameters
valuestringThe message text content.
Returns
- IVonageRequestBuilder<UpdateTemplateFragmentRequest>
The builder for creating the request.
Examples
.WithText("Your ${brand} verification code is ${code}. Valid for ${time-limit} ${time-limit-unit}.")