Class InputInvoiceMessageContent

java.lang.Object
io.github.natanimn.telebof.types.input.InputInvoiceMessageContent
All Implemented Interfaces:
InputMessageContent, Serializable

public class InputInvoiceMessageContent extends Object implements InputMessageContent
Represents the content of an invoice message to be sent as the result of an inline query.
Since:
3 March 2025
See Also:
  • Constructor Details

    • InputInvoiceMessageContent

      public InputInvoiceMessageContent(String title, String description, String payload, String currency, LabeledPrice[] prices)
      Required
      Parameters:
      title - Product name, 1-32 characters
      description - Product description, 1-255 characters
      payload - Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
      currency - Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
      prices - Price breakdown. Must contain exactly one item for payments in Telegram Stars.
  • Method Details