Class Index
java.lang.Object
com.ringcentral.paths.teammessaging.v1.conversations.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Returns information about the specified conversation, including the list of conversation participants.list()
list
(ListGlipConversationsNewParameters queryParams) Returns the list of conversations where the user is a member.path()
post
(CreateConversationRequest createConversationRequest) Creates a new conversation or opens the existing one.
-
Field Details
-
rc
-
parent
-
chatId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
list
public TMConversationList list(ListGlipConversationsNewParameters queryParams) throws RestException, IOException Returns the list of conversations where the user is a member. All records in response are sorted by creation time of a conversation in ascending order. Conversation is a chat of the *Group* type. HTTP Method: get Endpoint: /team-messaging/v1/conversations Rate Limit Group: Medium App Permission: TeamMessaging- Throws:
RestException
IOException
-
list
- Throws:
RestException
IOException
-
post
public TMConversationInfo post(CreateConversationRequest createConversationRequest) throws RestException, IOException Creates a new conversation or opens the existing one. If the conversation already exists, then its ID will be returned in response. A conversation is an adhoc discussion between a particular set of users, not featuring any specific name or description; it is a chat of 'Group' type. If you add a person to the existing conversation (group), it creates a whole new conversation. HTTP Method: post Endpoint: /team-messaging/v1/conversations Rate Limit Group: Medium App Permission: TeamMessaging- Throws:
RestException
IOException
-
get
Returns information about the specified conversation, including the list of conversation participants. A conversation is an adhoc discussion between a particular set of users, not featuring any specific name or description; it is a chat of 'Group' type. If you add a person to the existing conversation, it creates a whole new conversation. HTTP Method: get Endpoint: /team-messaging/v1/conversations/{chatId} Rate Limit Group: Light App Permission: TeamMessaging- Throws:
RestException
IOException
-