Class TdApi.TransferBusinessAccountStars

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.TransferBusinessAccountStars
Enclosing class:
TdApi

public static class TdApi.TransferBusinessAccountStars extends TdApi.Function<TdApi.Ok>
Transfer Telegram Stars from the business account to the business bot; for bots only.

Returns Ok

  • Field Details

    • businessConnectionId

      public String businessConnectionId
      Unique identifier of business connection.
    • starCount

      public long starCount
      Number of Telegram Stars to transfer.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public TransferBusinessAccountStars(String businessConnectionId, long starCount)
      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR