Class Sms


public class Sms extends BaseService
  • Constructor Details

    • Sms

      public Sms(String apiKey)
      Constructs an instance of the Sms class.
      Parameters:
      apiKey - The apiKey used for authentication.
  • Method Details

    • send

      public SendSmsResponse send(SendSmsOptions sendSmsOptions) throws ReSMSException
      Sends an SMS based on the provided SMS request.
      Parameters:
      sendSmsOptions - The request containing SMS details.
      Returns:
      The response indicating the status of the sms sending.
      Throws:
      ReSMSException - If an error occurs while sending the SMS.