Class TdApi.GetBusinessAccountStarAmount

Enclosing class:
TdApi

public static class TdApi.GetBusinessAccountStarAmount extends TdApi.Function<TdApi.StarAmount>
Returns the amount of Telegram Stars owned by a business account; for bots only.

Returns StarAmount

  • Field Details

    • businessConnectionId

      public String businessConnectionId
      Unique identifier of business connection.
    • CONSTRUCTOR

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

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