MessageInvoice class

Inheritance

Constructors

MessageInvoice({String title, String description, Photo photo, String currency, int totalAmount, String startParameter, bool isTest, bool needShippingAddress, int receiptMessageId})
A message with an invoice from a bot
MessageInvoice.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

currency String
currency Currency for the product price
read / write
description String
description Product description
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isTest bool
isTest True, if the invoice is a test invoice
read / write
needShippingAddress bool
needShippingAddress True, if the shipping address should be specified
read / write
photo Photo
photo Product photo; may be null
read / write
receiptMessageId int
receiptMessageId The identifier of the message with the receipt, after the product has been purchased
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startParameter String
startParameter Unique invoice bot start_parameter. To share an invoice use the URL https://t.me/{bot_username}?start={start_parameter}
read / write
title String
title Product title
read / write
totalAmount int
totalAmount Product total price in the minimal quantity of the currency
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
'messageInvoice'