java.lang.Object
com.ringcentral.paths.teammessaging.v1.conversations.Index

public class Index extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • path

      public String path(Boolean withParameter)
    • path

      public String path()
    • list

      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