Package org.drinkless.tdlib
Class TdApi.GetChatBoostFeatures
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.ChatBoostFeatures>
org.drinkless.tdlib.TdApi.GetChatBoostFeatures
- Enclosing class:
- TdApi
Returns the list of features available for different chat boost levels. This is an offline method.
Returns ChatBoostFeatures
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
Pass true to get the list of features for channels; pass false to get the list of features for supergroups. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns the list of features available for different chat boost levels.GetChatBoostFeatures
(boolean isChannel) Creates a function, which returns the list of features available for different chat boost levels. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetChatBoostFeatures
public GetChatBoostFeatures()Default constructor for a function, which returns the list of features available for different chat boost levels. This is an offline method.Returns
ChatBoostFeatures
-
GetChatBoostFeatures
public GetChatBoostFeatures(boolean isChannel) Creates a function, which returns the list of features available for different chat boost levels. This is an offline method.Returns
ChatBoostFeatures
- Parameters:
isChannel
- Pass true to get the list of features for channels; pass false to get the list of features for supergroups.
-
-
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
-