public static class TdApi.GetStarTransactions extends TdApi.Function<TdApi.StarTransactions>
Returns StarTransactions
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.StarTransactionDirection |
direction
Direction of the transactions to receive; pass null to get all transactions.
|
int |
limit
The maximum number of transactions to return.
|
java.lang.String |
offset
Offset of the first transaction to return as received from the previous request; use empty string to get the first chunk of results.
|
TdApi.MessageSender |
ownerId
Identifier of the owner of the Telegram Stars; can be the identifier of the current user, identifier of an owned bot, or identifier of a channel chat with supergroupFullInfo.canGetStarRevenueStatistics == true.
|
java.lang.String |
subscriptionId
If non-empty, only transactions related to the Star Subscription will be returned.
|
| Constructor and Description |
|---|
GetStarTransactions()
Default constructor for a function, which returns the list of Telegram Star transactions for the specified owner.
|
GetStarTransactions(TdApi.MessageSender ownerId,
java.lang.String subscriptionId,
TdApi.StarTransactionDirection direction,
java.lang.String offset,
int limit)
Creates a function, which returns the list of Telegram Star transactions for the specified owner.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.MessageSender ownerId
public java.lang.String subscriptionId
public TdApi.StarTransactionDirection direction
public java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public GetStarTransactions()
Returns StarTransactions
public GetStarTransactions(TdApi.MessageSender ownerId, java.lang.String subscriptionId, TdApi.StarTransactionDirection direction, java.lang.String offset, int limit)
Returns StarTransactions
ownerId - Identifier of the owner of the Telegram Stars; can be the identifier of the current user, identifier of an owned bot, or identifier of a channel chat with supergroupFullInfo.canGetStarRevenueStatistics == true.subscriptionId - If non-empty, only transactions related to the Star Subscription will be returned.direction - Direction of the transactions to receive; pass null to get all transactions.offset - Offset of the first transaction to return as received from the previous request; use empty string to get the first chunk of results.limit - The maximum number of transactions to return.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object