Nadia. InputInvoiceMessageContent
(nadia v1.6.1)
View Source
Typed builder for Telegram InputInvoiceMessageContent objects.
The builder validates only constraints that are knowable before calling
Telegram: required string lengths, integer money fields, price-list shape,
tip ordering, booleans, photo URL shape, and Telegram Stars (XTR) rules
documented for invoice content. Provider-specific and currency-specific
payment validation remains Telegram's responsibility.
Summary
Types
A typed Telegram InputInvoiceMessageContent value. Its representation is opaque.
Functions
Builds an invoice message content object.
Builds Telegram Stars (XTR) invoice message content.
Types
@type price() :: Nadia.LabeledPrice.t() | Nadia.LabeledPrice.raw()
@opaque t()
A typed Telegram InputInvoiceMessageContent value. Its representation is opaque.
Functions
Builds an invoice message content object.
Supported options are the optional fields from Telegram
InputInvoiceMessageContent. Options whose value is nil are omitted.
Builds Telegram Stars (XTR) invoice message content.
The price argument can be a single price object or a one-item list. The
builder includes an empty provider_token, as documented for Stars payments.