Class TdApi.GetChatBoostLevelFeatures
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.ChatBoostLevelFeatures>
dev.voroby.springframework.telegram.client.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 request.
Returns ChatBoostLevelFeatures
-
Field Summary
Modifier 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.int
Chat boost level. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns the list of features available on the specific chat boost level; this is an offline request.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 request. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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 request.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 request.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-