Package org.drinkless.tdlib
Class TdApi.GetChatBoostLevelFeatures
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.ChatBoostLevelFeatures>
org.drinkless.tdlib.TdApi.GetChatBoostLevelFeatures
- Enclosing class:
- TdApi
public static class TdApi.GetChatBoostLevelFeatures
extends TdApi.Function<TdApi.ChatBoostLevelFeatures>
Returns the list of features available on the specific chat boost level. This is an offline method.
Returns ChatBoostLevelFeatures
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanPass true to get the list of features for channels; pass false to get the list of features for supergroups.intChat boost level. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns the list of features available on the specific chat boost level.GetChatBoostLevelFeatures(boolean isChannel, int level) Creates a function, which returns the list of features available on the specific chat boost level. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
isChannel
public boolean isChannelPass true to get the list of features for channels; pass false to get the list of features for supergroups. -
level
public int levelChat boost level. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetChatBoostLevelFeatures
public GetChatBoostLevelFeatures()Default constructor for a function, which returns the list of features available on the specific chat boost level. This is an offline method.Returns
ChatBoostLevelFeatures -
GetChatBoostLevelFeatures
public GetChatBoostLevelFeatures(boolean isChannel, int level) Creates a function, which returns the list of features available on the specific chat boost level. This is an offline method.Returns
ChatBoostLevelFeatures- Parameters:
isChannel- Pass true to get the list of features for channels; pass false to get the list of features for supergroups.level- Chat boost level.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-