Package com.ringcentral.definitions
Class TMPostInfo
java.lang.Object
com.ringcentral.definitions.TMPostInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionLabel of activity typeString[]
For 'PersonsAdded' post type only.List of posted attachmentsPost creation datetime in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format Format: date-timeInternal identifier of a user - author of a postInternal identifier of a group a post belongs toEmoji used as an icon for this messageLink to an image used as an icon for this message Format: uriInternal identifier of a postPost last modification datetime in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format Format: date-timeFor 'TextMessage' post type only.Title of a message.Type of post Enum: TextMessage, PersonJoined, PersonsAdded -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddedPersonIds
(String[] addedPersonIds) attachments
(TMMessageAttachmentInfo[] attachments) creationTime
(String creationTime) lastModifiedTime
(String lastModifiedTime) mentions
(TMMentionsInfo[] mentions)
-
Field Details
-
id
Internal identifier of a post -
groupId
Internal identifier of a group a post belongs to -
type
Type of post Enum: TextMessage, PersonJoined, PersonsAdded -
text
For 'TextMessage' post type only. Text of a message -
creatorId
Internal identifier of a user - author of a post -
addedPersonIds
For 'PersonsAdded' post type only. Identifiers of persons added to a group -
creationTime
Post creation datetime in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format Format: date-time -
lastModifiedTime
Post last modification datetime in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format Format: date-time -
attachments
List of posted attachments -
mentions
-
activity
Label of activity type -
title
Title of a message. (Can be set for bot's messages only) -
iconUri
Link to an image used as an icon for this message Format: uri -
iconEmoji
Emoji used as an icon for this message
-
-
Constructor Details
-
TMPostInfo
public TMPostInfo()
-
-
Method Details
-
id
-
groupId
-
type
-
text
-
creatorId
-
addedPersonIds
-
creationTime
-
lastModifiedTime
-
attachments
-
mentions
-
activity
-
title
-
iconUri
-
iconEmoji
-