Package org.drinkless.tdlib
Class TdApi.TransferBusinessAccountStars
- Enclosing class:
- TdApi
Transfer Telegram Stars from the business account to the business bot; for bots only.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionUnique identifier of business connection.static final int
Identifier uniquely determining type of the object.long
Number of Telegram Stars to transfer. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which transfer Telegram Stars from the business account to the business bot; for bots only.TransferBusinessAccountStars
(String businessConnectionId, long starCount) Creates a function, which transfer Telegram Stars from the business account to the business bot; 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. -
starCount
public long starCountNumber of Telegram Stars to transfer. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
TransferBusinessAccountStars
public TransferBusinessAccountStars()Default constructor for a function, which transfer Telegram Stars from the business account to the business bot; for bots only.Returns
Ok
-
TransferBusinessAccountStars
Creates a function, which transfer Telegram Stars from the business account to the business bot; for bots only.Returns
Ok
- Parameters:
businessConnectionId
- Unique identifier of business connection.starCount
- Number of Telegram Stars to transfer.
-
-
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
-