Class TdApi.GetBusinessAccountStarAmount

Enclosing class:
TdApi

public static class TdApi.GetBusinessAccountStarAmount extends TdApi.Function<TdApi.StarAmount>
Returns the Telegram Star amount 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 Telegram Star amount owned by a business account; for bots only.

      Returns StarAmount

    • GetBusinessAccountStarAmount

      public GetBusinessAccountStarAmount(String businessConnectionId)
      Creates a function, which returns the Telegram Star amount owned by a business account; for bots only.

      Returns StarAmount

      Parameters:
      businessConnectionId - Unique identifier of business connection.
  • Method Details