Class TdApi.GetChatRevenueTransactions
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.ChatRevenueTransactions>
dev.voroby.springframework.telegram.client.TdApi.GetChatRevenueTransactions
- Enclosing class:
- TdApi
public static class TdApi.GetChatRevenueTransactions
extends TdApi.Function<TdApi.ChatRevenueTransactions>
Returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.canGetRevenueStatistics == true.
Returns ChatRevenueTransactions
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
Identifier uniquely determining type of the object.int
The maximum number of transactions to be returned; up to 200.int
Number of transactions to skip. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns the list of revenue transactions for a chat.GetChatRevenueTransactions
(long chatId, int offset, int limit) Creates a function, which returns the list of revenue transactions for a chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
offset
public int offsetNumber of transactions to skip. -
limit
public int limitThe maximum number of transactions to be returned; up to 200. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetChatRevenueTransactions
public GetChatRevenueTransactions()Default constructor for a function, which returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.canGetRevenueStatistics == true.Returns
ChatRevenueTransactions
-
GetChatRevenueTransactions
public GetChatRevenueTransactions(long chatId, int offset, int limit) Creates a function, which returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.canGetRevenueStatistics == true.Returns
ChatRevenueTransactions
- Parameters:
chatId
- Chat identifier.offset
- Number of transactions to skip.limit
- The maximum number of transactions to be returned; up to 200.
-
-
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
-