InputMessageInvoice class
A message with an invoice; can be used only by bots
- Inheritance
-
- Object
- Td
- TdObject
- InputMessageContent
- InputMessageInvoice
Constructors
- InputMessageInvoice({String? extra, int? client_id, 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, InputMessageContent? extended_media_content})
-
InputMessageInvoice.fromMap(Map<
String, dynamic> map)
Properties
- client_id ↔ int?
-
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
- description ↔ string?
-
getter/setter pair
- extended_media_content ↔ InputMessageContent?
-
The content of extended media attached to the invoice. The content of the message to be sent. Must be one of the following types: inputMessagePhoto, inputMessageVideo
getter/setter pair
- extra ↔ String?
-
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoice ↔ Invoice?
-
Invoice
getter/setter pair
- payload ↔ bytes?
-
The invoice payload
getter/setter pair
- photo_height ↔ int32?
-
Product photo height
getter/setter pair
- photo_size ↔ int32?
-
Product photo size
getter/setter pair
- photo_url ↔ string?
-
Product photo URL; optional
getter/setter pair
- photo_width ↔ int32?
-
Product photo width
getter/setter pair
- provider_data ↔ string?
-
JSON-encoded data about the invoice, which will be shared with the payment provider
getter/setter pair
- provider_token ↔ string?
-
Payment provider token
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start_parameter ↔ string?
-
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
getter/setter pair
- tdType → String
-
JSON object type; maps to the field @type.
no setteroverride
- title ↔ string?
-
Product title; 1-32 characters
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{dynamic skipNulls = true}) → String -
Serialize a Td instance to a JSON string.
If
skipNullsistruethe fields with null values are not serialized.inherited -
toMap(
{dynamic skipNulls = true}) → Map< String, dynamic> -
Create a Map from a Td instance.
override
-
toString(
{dynamic skipNulls = false}) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited