Class ConversationsOpenRequest

java.lang.Object
com.slack.api.methods.request.conversations.ConversationsOpenRequest
All Implemented Interfaces:
SlackApiRequest

public class ConversationsOpenRequest
extends Object
implements SlackApiRequest
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token. Requires scope: `conversations:write`
      Specified by:
      getToken in interface SlackApiRequest
    • getChannel

      public String getChannel()
      Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead.
    • isReturnIm

      public boolean isReturnIm()
      Boolean, indicates you want the full IM channel definition in the response.
    • getUsers

      public List<String> getUsers()
      Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`.
    • setToken

      public void setToken​(String token)
      Authentication token. Requires scope: `conversations:write`
    • setChannel

      public void setChannel​(String channel)
      Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead.
    • setReturnIm

      public void setReturnIm​(boolean returnIm)
      Boolean, indicates you want the full IM channel definition in the response.
    • setUsers

      public void setUsers​(List<String> users)
      Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`.
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual​(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object