public static class TdApi.ToggleGeneralForumTopicIsHidden extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isHidden
Pass true to hide and close the General topic; pass false to unhide it.
|
| Constructor and Description |
|---|
ToggleGeneralForumTopicIsHidden()
Default constructor for a function, which toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics right in the supergroup.
|
ToggleGeneralForumTopicIsHidden(long chatId,
boolean isHidden)
Creates a function, which toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics right in the supergroup.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean isHidden
public static final int CONSTRUCTOR
public ToggleGeneralForumTopicIsHidden()
Returns Ok
public ToggleGeneralForumTopicIsHidden(long chatId,
boolean isHidden)
Returns Ok
chatId - Identifier of the chat.isHidden - Pass true to hide and close the General topic; pass false to unhide it.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object