InputMessageInvoice
Object Hierarchy:
Description:
public class InputMessageInvoice :
InputMessageContent
A message with an invoice; can be used only by bots
Content:
Properties:
- public string description { get; set construct; }
Product description; 0-255 characters
- public Invoice invoice { get; set construct; }
Invoice
- public InputPaidMedia paid_media { get; set construct; }
The content of paid media attached to the invoice; pass null if none
- public FormattedText paid_media_caption { get; set construct; }
Paid media caption; pass null to use an empty caption; 0-
getOption("message_caption_length_max") characters
- public Bytes payload { get; set construct; }
The invoice payload
- public int32 photo_height { get; set construct; }
Product photo height
- public int32 photo_size { get; set construct; }
Product photo size
- public string photo_url { get; set construct; }
Product photo URL; optional
- public int32 photo_width { get; set construct; }
Product photo width
- public string provider_data { get; set construct; }
JSON-encoded data about the invoice, which will be shared with the
payment provider
- public string provider_token { get; set construct; }
Payment provider token; may be empty for payments in Telegram Stars
- public string start_parameter { get; set construct; }
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
- public string title { get; set construct; }
Product title; 1-32 characters
Creation methods:
- public InputMessageInvoice (Invoice invoice, string title, string description, string photo_url, int32 photo_size, int32 photo_width, int32 photo_height, Bytes payload, string provider_token, string provider_data, string start_parameter, InputPaidMedia paid_media, FormattedText paid_media_caption)
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref