public ButtonTemplateBuilder addUrlButton ( String title , String url , WebViewHeightRatioType ratioType ) { Button button = ButtonFactory . createUrlButton ( title , url , ratioType ) ; this . payload . addButton ( button ) ; return this ; }
Adds a button which redirects to an URL when clicked to the current template . There can be at most 3 buttons .