github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_get_message_info_response_int_id.go (about) 1 /* 2 * RingCentral Connect Platform API Explorer 3 * 4 * <p>This is a beta interactive API explorer for the RingCentral Connect Platform. To use this service, you will need to have an account with the proper credentials to generate an OAuth2 access token.</p><p><h2>Quick Start</h2></p><ol><li>1) Go to <b>Authentication > /oauth/token</b></li><li>2) Enter <b>app_key, app_secret, username, password</b> fields and then click \"Try it out!\"</li><li>3) Upon success, your access_token is loaded and you can access any form requiring authorization.</li></ol><h2>Links</h2><ul><li><a href=\"https://github.com/ringcentral\" target=\"_blank\">RingCentral SDKs on Github</a></li><li><a href=\"mailto:devsupport@ringcentral.com\">RingCentral Developer Support Email</a></li></ul> 5 * 6 * API version: 1.0 7 * Generated by: OpenAPI Generator (https://openapi-generator.tech) 8 */ 9 10 package ringcentral 11 12 import ( 13 "time" 14 ) 15 16 type GetMessageInfoResponseIntId struct { 17 // Internal identifier of a message 18 Id int64 `json:"id,omitempty"` 19 // Canonical URI of a message 20 Uri string `json:"uri,omitempty"` 21 // The list of message attachments 22 Attachments []MessageAttachmentInfoIntId `json:"attachments,omitempty"` 23 // Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored. 'Purged' means that all attachments are already deleted and the message itself is about to be physically deleted shortly 24 Availability string `json:"availability,omitempty"` 25 // SMS and Pager only. Identifier of the conversation the message belongs to 26 ConversationId int64 `json:"conversationId,omitempty"` 27 // Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z 28 CreationTime time.Time `json:"creationTime,omitempty"` 29 // SMS only. Delivery error code returned by gateway 30 DeliveryErrorCode string `json:"deliveryErrorCode,omitempty"` 31 // Message direction. Note that for some message types not all directions are allowed. For example voicemail messages can be only inbound 32 Direction string `json:"direction,omitempty"` 33 // Fax only. Page count in fax message 34 FaxPageCount int32 `json:"faxPageCount,omitempty"` 35 // Fax only. Resolution of fax message. ('High' for black and white image scanned at 200 dpi, 'Low' for black and white image scanned at 100 dpi) 36 FaxResolution string `json:"faxResolution,omitempty"` 37 From MessageStoreCallerInfoResponse `json:"from,omitempty"` 38 // The datetime when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z 39 LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"` 40 // Message status. Different message types may have different allowed status values.For outbound faxes the aggregated message status is returned: If status for at least one recipient is 'Queued', then 'Queued' value is returned If status for at least one recipient is 'SendingFailed', then 'SendingFailed' value is returned In other cases Sent status is returned 41 MessageStatus string `json:"messageStatus,omitempty"` 42 // Pager only True if at least one of the message recipients is Department extension 43 PgToDepartment bool `json:"pgToDepartment,omitempty"` 44 // Message priority 45 Priority string `json:"priority,omitempty"` 46 // Message read status 47 ReadStatus string `json:"readStatus,omitempty"` 48 // SMS only. The datetime when outbound SMS was delivered to recipient's handset in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. It is filled only if the carrier sends a delivery receipt to RingCentral 49 SmsDeliveryTime time.Time `json:"smsDeliveryTime,omitempty"` 50 // SMS only. Number of attempts made to send an outbound SMS to the gateway (if gateway is temporary unavailable) 51 SmsSendingAttemptsCount int32 `json:"smsSendingAttemptsCount,omitempty"` 52 // Message subject. For SMS and Pager messages it replicates message text which is also returned as an attachment 53 Subject string `json:"subject,omitempty"` 54 // Recipient information 55 To []MessageStoreCallerInfoResponse `json:"to,omitempty"` 56 // Message type 57 Type string `json:"type,omitempty"` 58 // Voicemail only. Status of voicemail to text transcription. If VoicemailToText feature is not activated for account, the 'NotAvailable' value is returned 59 VmTranscriptionStatus string `json:"vmTranscriptionStatus,omitempty"` 60 }