public static class TdApi.ToggleSupergroupIsAllHistoryAvailable extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isAllHistoryAvailable
The new value of isAllHistoryAvailable.
|
long |
supergroupId
The identifier of the supergroup.
|
| Constructor and Description |
|---|
ToggleSupergroupIsAllHistoryAvailable()
Default constructor for a function, which toggles whether the message history of a supergroup is available to new members; requires canChangeInfo member right.
|
ToggleSupergroupIsAllHistoryAvailable(long supergroupId,
boolean isAllHistoryAvailable)
Creates a function, which toggles whether the message history of a supergroup is available to new members; requires canChangeInfo member right.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long supergroupId
public boolean isAllHistoryAvailable
public static final int CONSTRUCTOR
public ToggleSupergroupIsAllHistoryAvailable()
Returns Ok
public ToggleSupergroupIsAllHistoryAvailable(long supergroupId,
boolean isAllHistoryAvailable)
Returns Ok
supergroupId - The identifier of the supergroup.isAllHistoryAvailable - The new value of isAllHistoryAvailable.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object