public static class TdApi.SetSupergroupUnrestrictBoostCount extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
supergroupId
Identifier of the supergroup.
|
int |
unrestrictBoostCount
New value of the unrestrictBoostCount supergroup setting; 0-8.
|
| Constructor and Description |
|---|
SetSupergroupUnrestrictBoostCount()
Default constructor for a function, which changes the number of times the supergroup must be boosted by a user to ignore slow mode and chat permission restrictions; requires canRestrictMembers administrator right.
|
SetSupergroupUnrestrictBoostCount(long supergroupId,
int unrestrictBoostCount)
Creates a function, which changes the number of times the supergroup must be boosted by a user to ignore slow mode and chat permission restrictions; requires canRestrictMembers administrator right.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long supergroupId
public int unrestrictBoostCount
public static final int CONSTRUCTOR
public SetSupergroupUnrestrictBoostCount()
Returns Ok
public SetSupergroupUnrestrictBoostCount(long supergroupId,
int unrestrictBoostCount)
Returns Ok
supergroupId - Identifier of the supergroup.unrestrictBoostCount - New value of the unrestrictBoostCount supergroup setting; 0-8. Use 0 to remove the setting.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object