github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_glip_post_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 GlipPostEvent struct { 17 // Internal identifier of a post 18 Id string `json:"id,omitempty"` 19 // Type of a post event 20 EventType string `json:"eventType,omitempty"` 21 // Internal identifier of a group a post belongs to 22 GroupId string `json:"groupId,omitempty"` 23 // Type of a post. 'TextMessage' - an incoming text message; 'PersonJoined' - a message notifying that person has joined a conversation; 'PersonsAdded' - a message notifying that a person(s) were added to a conversation 24 Type string `json:"type,omitempty"` 25 // For 'TextMessage' post type only. Message text 26 Text string `json:"text,omitempty"` 27 // Internal identifier of a user - author of a post 28 CreatorId string `json:"creatorId,omitempty"` 29 // For PersonsAdded post type only. Identifiers of persons added to a group 30 AddedPersonIds []string `json:"addedPersonIds,omitempty"` 31 // For PersonsRemoved post type only. Identifiers of persons removed from a group 32 RemovedPersonIds []string `json:"removedPersonIds,omitempty"` 33 // List of at mentions in post text with names. 34 Mentions []GlipMentionsInfo `json:"mentions,omitempty"` 35 // Post creation datetime in ISO 8601 format 36 CreationTime time.Time `json:"creationTime,omitempty"` 37 // Post last change datetime in ISO 8601 format 38 LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"` 39 }