/// <summary> /// The cancel scheduled message. /// </summary> /// <param name="request"> /// The request. /// </param> /// <returns> /// The <see cref="ScheduledEmailResult" />. /// </returns> public async Task <ScheduledEmailResult> CancelScheduledMessage(CancelScheduledMessageRequest request) { string path = "messages/cancel-scheduled.json"; ScheduledEmailResult resp = await Post <ScheduledEmailResult>(path, request).ConfigureAwait(false); return(resp); }
/// <summary> /// The reschedule message. /// </summary> /// <param name="id"> /// The id. /// </param> /// <param name="send_at"> /// The send_at. /// </param> /// <returns> /// The <see cref="ScheduledEmailResult" />. /// </returns> public async Task <ScheduledEmailResult> RescheduleMessage(RescheduleMessageRequest request) { string path = "messages/reschedule.json"; ScheduledEmailResult response = await Post <ScheduledEmailResult>(path, request).ConfigureAwait(false); return(response); }