Class ConversationsOpenRequest

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

public class ConversationsOpenRequest
extends java.lang.Object
implements SlackApiRequest
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ConversationsOpenRequest.ConversationsOpenRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static ConversationsOpenRequest.ConversationsOpenRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    Resume a conversation by supplying an `im` or `mpim`'s ID.
    java.lang.String getToken()
    Authentication token.
    java.util.List<java.lang.String> getUsers()
    Comma separated lists of users.
    int hashCode()  
    boolean isReturnIm()
    Boolean, indicates you want the full IM channel definition in the response.
    void setChannel​(java.lang.String channel)
    Resume a conversation by supplying an `im` or `mpim`'s ID.
    void setReturnIm​(boolean returnIm)
    Boolean, indicates you want the full IM channel definition in the response.
    void setToken​(java.lang.String token)
    Authentication token.
    void setUsers​(java.util.List<java.lang.String> users)
    Comma separated lists of users.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

    • getToken

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

      public java.lang.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 java.util.List<java.lang.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​(java.lang.String token)
      Authentication token. Requires scope: `conversations:write`
    • setChannel

      public void setChannel​(java.lang.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​(java.util.List<java.lang.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​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object