public static class TdApi.ToggleChatViewAsTopics 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.
|
boolean |
viewAsTopics
New value of viewAsTopics.
|
| Constructor and Description |
|---|
ToggleChatViewAsTopics()
Default constructor for a function, which changes the viewAsTopics setting of a forum chat or Saved Messages.
|
ToggleChatViewAsTopics(long chatId,
boolean viewAsTopics)
Creates a function, which changes the viewAsTopics setting of a forum chat or Saved Messages.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean viewAsTopics
public static final int CONSTRUCTOR
public ToggleChatViewAsTopics()
Returns Ok
public ToggleChatViewAsTopics(long chatId,
boolean viewAsTopics)
Returns Ok
chatId - Chat identifier.viewAsTopics - New value of viewAsTopics.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object