A message with an invoice; can be used only by bots.
|
| | inputMessageInvoice () |
| | inputMessageInvoice (object_ptr< invoice > &&invoice_, string const &title_, string const &description_, string const &photo_url_, int32 photo_size_, int32 photo_width_, int32 photo_height_, bytes const &payload_, string const &provider_token_, string const &provider_data_, string const &start_parameter_, object_ptr< inputPaidMedia > &&paid_media_, object_ptr< formattedText > &&paid_media_caption_) |
| void | store (TlStorerToString &s, const char *field_name) const final |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| | TlObject ()=default |
| | TlObject (const TlObject &)=delete |
| | TlObject (TlObject &&)=default |
| virtual | ~TlObject ()=default |
|
|
string | description_ |
| | Product description; 0-255 characters.
|
|
object_ptr< invoice > | invoice_ |
| | Invoice.
|
|
object_ptr< inputPaidMedia > | paid_media_ |
| | The content of paid media attached to the invoice; pass null if none.
|
|
object_ptr< formattedText > | paid_media_caption_ |
| | Paid media caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
|
|
bytes | payload_ |
| | The invoice payload.
|
|
int32 | photo_height_ |
| | Product photo height.
|
|
int32 | photo_size_ |
| | Product photo size.
|
|
string | photo_url_ |
| | Product photo URL; optional.
|
|
int32 | photo_width_ |
| | Product photo width.
|
|
string | provider_data_ |
| | JSON-encoded data about the invoice, which will be shared with the payment provider.
|
|
string | provider_token_ |
| | Payment provider token; may be empty for payments in Telegram Stars.
|
|
string | start_parameter_ |
| | Unique invoice bot deep link parameter for the generation of this invoice. If empty, it would be possible to pay directly from forwards of the invoice message.
|
|
string | title_ |
| | Product title; 1-32 characters.
|