github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_glip_post_info.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 GlipPostInfo struct {
    17  	// Internal identifier of a post
    18  	Id string `json:"id,omitempty"`
    19  	// Internal identifier of a group a post belongs to
    20  	GroupId string `json:"groupId,omitempty"`
    21  	// Type of a post
    22  	Type string `json:"type,omitempty"`
    23  	// For 'TextMessage' post type only. Message text
    24  	Text string `json:"text,omitempty"`
    25  	// Internal identifier of a user - author of a post
    26  	CreatorId string `json:"creatorId,omitempty"`
    27  	// For PersonsAdded post type only. Identifiers of persons added to a group
    28  	AddedPersonIds []string `json:"addedPersonIds,omitempty"`
    29  	// Post creation datetime in ISO 8601 format
    30  	CreationTime time.Time `json:"creationTime,omitempty"`
    31  	// Post last modification datetime in ISO 8601 format
    32  	LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
    33  	// List of posted attachments
    34  	Attachments []GlipMessageAttachmentInfo `json:"attachments,omitempty"`
    35  	// List of posted attachments
    36  	Mentions []GlipMentionsInfo `json:"mentions,omitempty"`
    37  	// activity type
    38  	Activity string `json:"activity,omitempty"`
    39  	// Title of the message. Can be set for bot messages only
    40  	Title string `json:"title,omitempty"`
    41  	// URI to an image to use as the icon for this message.
    42  	IconUri string `json:"iconUri,omitempty"`
    43  	// Emoji to use as the icon for a message
    44  	IconEmoji string `json:"iconEmoji,omitempty"`
    45  }