Package org.drinkless.tdlib
Class TdApi.GetDirectMessagesChatTopicRevenue
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.StarCount>
org.drinkless.tdlib.TdApi.GetDirectMessagesChatTopicRevenue
- Enclosing class:
- TdApi
Returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.
Returns StarCount
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Chat identifier of the channel direct messages chat administered by the current user.static final int
Identifier uniquely determining type of the object.long
Identifier of the topic. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.GetDirectMessagesChatTopicRevenue
(long chatId, long topicId) Creates a function, which returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier of the channel direct messages chat administered by the current user. -
topicId
public long topicIdIdentifier of the topic. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetDirectMessagesChatTopicRevenue
public GetDirectMessagesChatTopicRevenue()Default constructor for a function, which returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.Returns
StarCount
-
GetDirectMessagesChatTopicRevenue
public GetDirectMessagesChatTopicRevenue(long chatId, long topicId) Creates a function, which returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.Returns
StarCount
- Parameters:
chatId
- Chat identifier of the channel direct messages chat administered by the current user.topicId
- Identifier of the topic.
-
-
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
-