InputMessageInvoice class

Inheritance

Constructors

InputMessageInvoice({Invoice invoice, String title, String description, String photoUrl, int photoSize, int photoWidth, int photoHeight, String payload, String providerToken, String providerData, String startParameter})
A message with an invoice; can be used only by bots and only in private chats
InputMessageInvoice.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

description String
description Product description; 0-255 characters
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
invoice Invoice
invoice Invoice
read / write
payload String
payload The invoice payload
read / write
photoHeight int
photoHeight Product photo height
read / write
photoSize int
photoSize Product photo size
read / write
photoUrl String
photoUrl Product photo URL; optional
read / write
photoWidth int
photoWidth Product photo width
read / write
providerData String
providerData JSON-encoded data about the invoice, which will be shared with the payment provider
read / write
providerToken String
providerToken Payment provider token
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startParameter String
startParameter Unique invoice bot start_parameter for the generation of this invoice
read / write
title String
title Product title; 1-32 characters
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
'inputMessageInvoice'