Package org.drinkless.tdlib
Class TdApi.MessageDirectMessagePriceChanged
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageDirectMessagePriceChanged
- Enclosing class:
- TdApi
A price for direct messages was changed in the channel chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if direct messages group was enabled for the channel; false otherwise.long
The new number of Telegram Stars that must be paid by non-administrator users of the channel chat for each message sent to the direct messages group; 0 if the direct messages group was disabled or the messages are free. -
Constructor Summary
ConstructorsConstructorDescriptionA price for direct messages was changed in the channel chat.MessageDirectMessagePriceChanged
(boolean isEnabled, long paidMessageStarCount) A price for direct messages was changed in the channel chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
isEnabled
public boolean isEnabledTrue, if direct messages group was enabled for the channel; false otherwise. -
paidMessageStarCount
public long paidMessageStarCountThe new number of Telegram Stars that must be paid by non-administrator users of the channel chat for each message sent to the direct messages group; 0 if the direct messages group was disabled or the messages are free. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageDirectMessagePriceChanged
public MessageDirectMessagePriceChanged()A price for direct messages was changed in the channel chat. -
MessageDirectMessagePriceChanged
public MessageDirectMessagePriceChanged(boolean isEnabled, long paidMessageStarCount) A price for direct messages was changed in the channel chat.- Parameters:
isEnabled
- True, if direct messages group was enabled for the channel; false otherwise.paidMessageStarCount
- The new number of Telegram Stars that must be paid by non-administrator users of the channel chat for each message sent to the direct messages group; 0 if the direct messages group was disabled or the messages are free.
-
-
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
-