Class Index
java.lang.Object
com.ringcentral.paths.teammessaging.v1.chats.posts.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete()
Deletes the specified post from the chat.get()
Returns information about the specified post.list()
list
(ReadGlipPostsNewParameters queryParams) Returns a list of posts from the specified chat.patch
(TMUpdatePostRequest tMUpdatePostRequest) Updates a specific post within a chat.path()
post
(TMCreatePostRequest tMCreatePostRequest) Creates a post in the chat specified in path.
-
Field Details
-
rc
-
parent
-
postId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
list
Returns a list of posts from the specified chat. HTTP Method: get Endpoint: /team-messaging/v1/chats/{chatId}/posts Rate Limit Group: Medium App Permission: TeamMessaging- Throws:
RestException
IOException
-
list
- Throws:
RestException
IOException
-
post
Creates a post in the chat specified in path. Any mention can be added within the `text` attribute of the request body in .md format - ``, where `type` is one of (Person, Team, File, Note, Task, Event, Link, Card) and `id` is a unique identifier of the mentioned object of the specified type. Attachments of the following types (File, Card, Event, Note) can also be added to a post by passing type and ID of attachment(s) in request body. HTTP Method: post Endpoint: /team-messaging/v1/chats/{chatId}/posts Rate Limit Group: Medium App Permission: TeamMessaging- Throws:
RestException
IOException
-
get
Returns information about the specified post. HTTP Method: get Endpoint: /team-messaging/v1/chats/{chatId}/posts/{postId} Rate Limit Group: Light App Permission: TeamMessaging- Throws:
RestException
IOException
-
delete
Deletes the specified post from the chat. HTTP Method: delete Endpoint: /team-messaging/v1/chats/{chatId}/posts/{postId} Rate Limit Group: Medium App Permission: TeamMessaging- Throws:
RestException
IOException
-
patch
Updates a specific post within a chat. HTTP Method: patch Endpoint: /team-messaging/v1/chats/{chatId}/posts/{postId} Rate Limit Group: Medium App Permission: TeamMessaging- Throws:
RestException
IOException
-