github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_glip_groups_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 GlipGroupsEvent struct {
    17  	// Internal identifier of a group
    18  	Id string `json:"id,omitempty"`
    19  	// Type of a group. 'PrivateChat' is a group of 2 members. 'Group' is a chat of 2 and more participants, the membership cannot be changed after group creation. 'Team' is a chat of 1 and more participants, the membership can be modified in future. 'PersonalChat' is a private chat thread of a user
    20  	Type string `json:"type,omitempty"`
    21  	// For 'Team' group type only. Team access level
    22  	IsPublic bool `json:"isPublic,omitempty"`
    23  	// For 'Team' group type only. Team name
    24  	Name string `json:"name,omitempty"`
    25  	// For 'Team' group type only. Team description
    26  	Description string `json:"description,omitempty"`
    27  	// Identifier(s) of group members
    28  	Members []string `json:"members,omitempty"`
    29  	// Group creation datetime in ISO 8601 format
    30  	CreationTime time.Time `json:"creationTime,omitempty"`
    31  	// Group last change datetime in ISO 8601 format
    32  	LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
    33  	// Type of a group event. Only the person who joined/was added to a group will receive 'GroupJoined' notification. Only the person who left/was removed from a group will receive 'GroupLeft' notification
    34  	EventType string `json:"eventType,omitempty"`
    35  }