Package io.sendon.rcs

Class SendonRcs


public class SendonRcs extends SendonClient
  • Constructor Details

    • SendonRcs

      public SendonRcs(String userId, String apiKey)
    • SendonRcs

      public SendonRcs(String userId, String apiKey, boolean useOkHttp)
  • Method Details

    • createCsvUploadUrl

      public CreateCsvUploadUrl createCsvUploadUrl()
      Creates a presigned URL for CSV file upload.
      Returns:
      The response containing the presigned URL for CSV upload.
    • send

      public SendRcs send(RcsBuilder builder)
      Sends an RCS message using a builder.
      Parameters:
      builder - The RcsBuilder containing the RCS message details.
      Returns:
      The response of the RCS send operation.
      See Also:
    • send

      public SendRcs send(SendonRcs.MessageType type, String from, List<String> to, RbcConfig rbcConfig, Boolean useCredit, Boolean useFallback, Fallback fallback)
      Sends an RCS message.
      Parameters:
      type - The RCS message type (RcsTSM, RcsTLM, RcsTMM).
      from - The sender's phone number.
      to - The list of recipient phone numbers.
      rbcConfig - The RCS business configuration.
      useCredit - Whether to use credit for sending.
      useFallback - Whether to use fallback SMS when RCS fails.
      fallback - The fallback message configuration.
      Returns:
      The response of the RCS send operation.
    • find

      public GetRcs find(String groupId)
      Finds and retrieves details of an RCS message group.
      Parameters:
      groupId - The group ID to search for.
      Returns:
      The response containing the RCS message details.