Package org.drinkless.tdlib
Class TdApi.GetBusinessAccountStarAmount
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.StarAmount>
org.drinkless.tdlib.TdApi.GetBusinessAccountStarAmount
- Enclosing class:
- TdApi
Returns the amount of Telegram Stars owned by a business account; for bots only.
Returns StarAmount
-
Field Summary
FieldsModifier and TypeFieldDescriptionUnique identifier of business connection.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns the amount of Telegram Stars owned by a business account; for bots only.GetBusinessAccountStarAmount
(String businessConnectionId) Creates a function, which returns the amount of Telegram Stars owned by a business account; for bots only. -
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
-
businessConnectionId
Unique identifier of business connection. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetBusinessAccountStarAmount
public GetBusinessAccountStarAmount()Default constructor for a function, which returns the amount of Telegram Stars owned by a business account; for bots only.Returns
StarAmount
-
GetBusinessAccountStarAmount
Creates a function, which returns the amount of Telegram Stars owned by a business account; for bots only.Returns
StarAmount
- Parameters:
businessConnectionId
- Unique identifier of business connection.
-
-
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
-