- Enclosing class:
- TdApi
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.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Identifier of the supergroup.int
New value of the unrestrictBoostCount supergroup setting; 0-8. -
Constructor Summary
ConstructorDescriptionChanges 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) 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.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. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
supergroupId
public long supergroupIdIdentifier of the supergroup. -
unrestrictBoostCount
public int unrestrictBoostCountNew value of the unrestrictBoostCount supergroup setting; 0-8. Use 0 to remove the setting. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetSupergroupUnrestrictBoostCount
public SetSupergroupUnrestrictBoostCount()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.Returns
Ok
-
SetSupergroupUnrestrictBoostCount
public SetSupergroupUnrestrictBoostCount(long supergroupId, int unrestrictBoostCount) 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.Returns
Ok
- Parameters:
supergroupId
- Identifier of the supergroup.unrestrictBoostCount
- New value of the unrestrictBoostCount supergroup setting; 0-8. Use 0 to remove the setting.Returns
Ok
-
SetSupergroupUnrestrictBoostCount
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.Returns
Ok
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-