Package org.drinkless.tdlib
Class TdApi.PushMessageContentInvoice
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PushMessageContent
-
- org.drinkless.tdlib.TdApi.PushMessageContentInvoice
-
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentInvoice extends TdApi.PushMessageContent
A message with an invoice from a bot.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisPinnedTrue, if the message is a pinned message with the specified content.StringpriceProduct price.
-
Constructor Summary
Constructors Constructor Description PushMessageContentInvoice()A message with an invoice from a bot.PushMessageContentInvoice(String price, boolean isPinned)A message with an invoice from a bot.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
price
public String price
Product price.
-
isPinned
public boolean isPinned
True, if the message is a pinned message with the specified content.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PushMessageContentInvoice
public PushMessageContentInvoice()
A message with an invoice from a bot.
-
PushMessageContentInvoice
public PushMessageContentInvoice(String price, boolean isPinned)
A message with an invoice from a bot.- Parameters:
price- Product price.isPinned- True, if the message is a pinned message with the specified content.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-