Module tdlight.api

Class TdApi.PushMessageContentInvoice

Enclosing class:
TdApi

public static final class TdApi.PushMessageContentInvoice extends TdApi.PushMessageContent
A message with an invoice from a bot.
  • Field Details

    • 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
      See Also:
  • Constructor Details

    • 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 - String Product price.
      isPinned - boolean True, if the message is a pinned message with the specified content.
    • PushMessageContentInvoice

      public PushMessageContentInvoice(DataInput input) throws IOException
      A message with an invoice from a bot.
      Throws:
      IOException
  • Method Details