public class ConversationsRenameRequest extends Object implements SlackApiRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationsRenameRequest.ConversationsRenameRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static ConversationsRenameRequest.ConversationsRenameRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getChannel()
ID of conversation to rename
|
String |
getName()
New name for conversation.
|
String |
getToken()
Authentication token.
|
int |
hashCode() |
void |
setChannel(String channel)
ID of conversation to rename
|
void |
setName(String name)
New name for conversation.
|
void |
setToken(String token)
Authentication token.
|
String |
toString() |
public static ConversationsRenameRequest.ConversationsRenameRequestBuilder builder()
public String getToken()
getToken in interface SlackApiRequestpublic String getChannel()
public String getName()
Conversation names can only contain lowercase letters, numbers, hyphens, and underscores, and must be 21 characters or less. We will validate the submitted channel name and modify it to meet the above criteria. When calling this method, we recommend storing the channel's name value that is returned in the response.
public void setToken(String token)
public void setChannel(String channel)
public void setName(String name)
Conversation names can only contain lowercase letters, numbers, hyphens, and underscores, and must be 21 characters or less. We will validate the submitted channel name and modify it to meet the above criteria. When calling this method, we recommend storing the channel's name value that is returned in the response.
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.