java.lang.Object
com.ringcentral.paths.restapi.account.messagethreads.messages.content.Index

public class Index extends Object
  • Field Details

  • Constructor Details

    • Index

      public Index(Index parent, String attachmentId)
  • Method Details

    • path

      public String path(Boolean withParameter)
    • path

      public String path()
    • get

      public byte[] get(MthReadMessageContentParameters queryParams) throws RestException, IOException
      Returns media content of a rich message attachment.

      See [Sending MMS](https://developers.ringcentral.com/guide/messaging/sms/sending-images) for the list of supported media types.

      **This API must be called via media API entry point, e.g. https://media.ringcentral.com**

      HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/messages/{messageId}/content/{attachmentId} Rate Limit Group: Medium App Permission: SMS

      Throws:
      RestException
      IOException
    • get

      public byte[] get() throws RestException, IOException
      Throws:
      RestException
      IOException