MessageInvoice class

Implemented types

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. title Product title . paramDescription Product description . photo Product photo; may be null . currency Currency for the product price . totalAmount Product total price in the minimal quantity of the currency. startParameter Unique invoice bot start_parameter. To share an invoice use the URL https. needShippingAddress True, if the shipping address should be specified . receiptMessageId The identifier of the message with the receipt, after the product has been purchased
MessageInvoice.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

currency String
read / write
description String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isTest bool
read / write
needShippingAddress bool
read / write
photo Photo
read / write
receiptMessageId int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startParameter String
read / write
title String
read / write
totalAmount int
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"messageInvoice"