public static class TdApi.ToggleSupergroupIsAllHistoryAvailable extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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 administrator 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 administrator right.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public 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()
getConstructor
in class TdApi.Function