#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | 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 |
| |
| virtual void | store (TlStorerUnsafe &s) const |
| |
| virtual void | store (TlStorerCalcLength &s) const |
| |
| | TlObject ()=default |
| |
| | TlObject (const TlObject &)=delete |
| |
| TlObject & | operator= (const TlObject &)=delete |
| |
| | TlObject (TlObject &&)=default |
| |
| TlObject & | operator= (TlObject &&)=default |
| |
| virtual | ~TlObject ()=default |
| |
|
| static const std::int32_t | ID = -1162047631 |
| | Identifier uniquely determining a type of the object.
|
| |
A message with an invoice; can be used only by bots.
Definition at line 29745 of file td_api.h.
◆ inputMessageInvoice() [1/2]
| td::td_api::inputMessageInvoice::inputMessageInvoice |
( |
| ) |
|
A message with an invoice; can be used only by bots.
◆ inputMessageInvoice() [2/2]
| td::td_api::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_ |
|
) |
| |
A message with an invoice; can be used only by bots.
- Parameters
-
| [in] | invoice_ | Invoice. |
| [in] | title_ | Product title; 1-32 characters. |
| [in] | description_ | Product description; 0-255 characters. |
| [in] | photo_url_ | Product photo URL; optional. |
| [in] | photo_size_ | Product photo size. |
| [in] | photo_width_ | Product photo width. |
| [in] | photo_height_ | Product photo height. |
| [in] | payload_ | The invoice payload. |
| [in] | provider_token_ | Payment provider token; may be empty for payments in Telegram Stars. |
| [in] | provider_data_ | JSON-encoded data about the invoice, which will be shared with the payment provider. |
| [in] | 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. |
| [in] | paid_media_ | The content of paid media attached to the invoice; pass null if none. |
| [in] | paid_media_caption_ | Paid media caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters. |
◆ store()
| void td::td_api::inputMessageInvoice::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ description_
| string td::td_api::inputMessageInvoice::description_ |
Product description; 0-255 characters.
Definition at line 29760 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::inputMessageInvoice::ID = -1162047631 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 29807 of file td_api.h.
◆ invoice_
◆ paid_media_
The content of paid media attached to the invoice; pass null if none.
Definition at line 29778 of file td_api.h.
◆ paid_media_caption_
Paid media caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
Definition at line 29780 of file td_api.h.
◆ payload_
| bytes td::td_api::inputMessageInvoice::payload_ |
◆ photo_height_
| int32 td::td_api::inputMessageInvoice::photo_height_ |
◆ photo_size_
| int32 td::td_api::inputMessageInvoice::photo_size_ |
◆ photo_url_
| string td::td_api::inputMessageInvoice::photo_url_ |
Product photo URL; optional.
Definition at line 29762 of file td_api.h.
◆ photo_width_
| int32 td::td_api::inputMessageInvoice::photo_width_ |
◆ provider_data_
| string td::td_api::inputMessageInvoice::provider_data_ |
JSON-encoded data about the invoice, which will be shared with the payment provider.
Definition at line 29774 of file td_api.h.
◆ provider_token_
| string td::td_api::inputMessageInvoice::provider_token_ |
Payment provider token; may be empty for payments in Telegram Stars.
Definition at line 29772 of file td_api.h.
◆ start_parameter_
| string td::td_api::inputMessageInvoice::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.
Definition at line 29776 of file td_api.h.
◆ title_
| string td::td_api::inputMessageInvoice::title_ |
Product title; 1-32 characters.
Definition at line 29758 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h