public static class TdApi.SetChatTheme extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
themeName
Name of the new chat theme; pass an empty string to return the default theme.
|
| Constructor and Description |
|---|
SetChatTheme()
Default constructor for a function, which changes the chat theme.
|
SetChatTheme(long chatId,
java.lang.String themeName)
Creates a function, which changes the chat theme.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public java.lang.String themeName
public static final int CONSTRUCTOR
public SetChatTheme()
Returns Ok
public SetChatTheme(long chatId,
java.lang.String themeName)
Returns Ok
chatId - Chat identifier.themeName - Name of the new chat theme; pass an empty string to return the default theme.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object