Skip to content

MessageAttachment

RingCentral message attachment metadata.

Properties

Property Type Required Description
id one of: string, integer · int64 No RingCentral attachment identifier.
uri string · uri No RingCentral attachment resource URI.
link string · uri No Attachment link when supplied by RingCentral.
type string No RingCentral attachment type. Allowed values: AudioRecording, AudioTranscription, Text, SourceDocument, RenderedDocument, MmsAttachment.
contentType string No Attachment MIME type.
vmDuration integer · int32 No Voicemail audio duration in seconds.
fileName string No Attachment file name.
size integer · int32 No Attachment size in bytes.
height integer · int32 No Image height in pixels.
width integer · int32 No Image width in pixels.

Example

{
  "id": "string",
  "uri": "https://example.com",
  "link": "https://example.com",
  "type": "AudioRecording",
  "contentType": "string",
  "vmDuration": 0,
  "fileName": "string",
  "size": 0,
  "height": 0,
  "width": 0
}