github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_instant_message_event.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 InstantMessageEvent struct { 17 // Internal identifier of an message 18 Id string `json:"id,omitempty"` 19 // Message receiver(s) information 20 To []NotificationRecipientInfo `json:"to,omitempty"` 21 From SenderInfo `json:"from,omitempty"` 22 // Type of a message. The default value is 'SMS' 23 Type string `json:"type,omitempty"` 24 // Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z 25 CreationTime time.Time `json:"creationTime,omitempty"` 26 // Datetime when the message was modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z 27 LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"` 28 // Status of a message. The default value is 'Unread' 29 ReadStatus string `json:"readStatus,omitempty"` 30 // The default value is 'Normal' 31 Priority string `json:"priority,omitempty"` 32 // Message attachment data 33 Attachments []MessageAttachmentInfo `json:"attachments,omitempty"` 34 // Message direction. The default value is 'Inbound' 35 Direction string `json:"direction,omitempty"` 36 // Message availability status. The default value is 'Alive' 37 Availability string `json:"availability,omitempty"` 38 // Message subject. It replicates message text which is also returned as an attachment 39 Subject string `json:"subject,omitempty"` 40 // Status of a message. The default value is 'Received' 41 MessageStatus string `json:"messageStatus,omitempty"` 42 // Identifier of the conversation the message belongs to 43 ConversationId string `json:"conversationId,omitempty"` 44 }