/// <summary> /// Create a new <Redirect/> element and append it as a child of this element. /// </summary> /// <param name="url"> Redirect URL, the body of the TwiML Element. </param> /// <param name="method"> Redirect URL method </param> public MessagingResponse Redirect(Uri url = null, Twilio.Http.HttpMethod method = null) { var newChild = new Redirect(url, method); this.Append(newChild); return(this); }
/// <summary> /// Create a new <Redirect/> element and append it as a child of this element. /// </summary> /// <param name="url"> Redirect URL, the body of the TwiML Element. </param> /// <param name="method"> Redirect URL method </param> public VoiceResponse Redirect(Uri url = null, Twilio.Http.HttpMethod method = null) { var newChild = new Redirect(url, method); this.Append(newChild); return this; }
public MessagingResponse Redirect(Redirect redirect) { this.Append(redirect); return(this); }
public VoiceResponse Redirect(Redirect redirect) { this.Append(redirect); return this; }