InputMessageInvoice class

Implemented types

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. invoice Invoice . title Product title; 1-32 characters . paramDescription Product description; 0-255 characters . photoUrl Product photo URL; optional . photoSize Product photo size . photoWidth Product photo width . photoHeight Product photo height. payload The invoice payload . providerToken Payment provider token . providerData JSON-encoded data about the invoice, which will be shared with the payment provider . startParameter Unique invoice bot start_parameter for the generation of this invoice
InputMessageInvoice.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

description String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
invoice Invoice
read / write
payload String
read / write
photoHeight int
read / write
photoSize int
read / write
photoUrl String
read / write
photoWidth int
read / write
providerData String
read / write
providerToken String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startParameter String
read / write
title String
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
"inputMessageInvoice"