MessageMediaInvoice class

Message Media Invoice.

ID: f6a548d3.

Inheritance

Constructors

MessageMediaInvoice({required bool shippingAddressRequested, required bool test, required String title, required String description, WebDocumentBase? photo, int? receiptMsgId, required String currency, required int totalAmount, required String startParam, MessageExtendedMediaBase? extendedMedia})
Message Media Invoice constructor.
const
MessageMediaInvoice.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

currency String
Currency.
final
description String
Description.
final
extendedMedia MessageExtendedMediaBase?
Extended Media.
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
photo WebDocumentBase?
Photo.
final
receiptMsgId int?
Receipt Msg Id.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingAddressRequested bool
shipping_address_requested: bit 1 of flags.1?true
final
startParam String
Start Param.
final
test bool
test: bit 3 of flags.3?true
final
title String
Title.
final
totalAmount int
Total Amount.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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