InputInvoiceMessageContent class

Represents the content of an invoice message to be sent as the result of an inline query.

https://core.telegram.org/bots/api#inputinvoicemessagecontent

Implemented types
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

InputInvoiceMessageContent({required String title, required String description, required String payload, required String providerToken, required String currency, required List<LabeledPrice> prices, int? maxTipAmount, List<int>? suggestedTipAmounts, String? providerData, int? photoSize, int? photoWidth, int? photoHeight, bool? needName, bool? needPhoneNumber, bool? needEmail, bool? needShippingAddress, bool? sendPhoneNumberToProvider, bool? sendEmailToProvider, bool? isFlexible})
InputInvoiceMessageContent.fromJson(Map<String, dynamic> json)
factory

Properties

currency String
getter/setter pair
description String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isFlexible bool?
getter/setter pair
maxTipAmount int?
getter/setter pair
needEmail bool?
getter/setter pair
needName bool?
getter/setter pair
needPhoneNumber bool?
getter/setter pair
needShippingAddress bool?
getter/setter pair
payload String
getter/setter pair
photoHeight int?
getter/setter pair
photoSize int?
getter/setter pair
photoUrl String?
getter/setter pair
photoWidth int?
getter/setter pair
prices List<LabeledPrice>
getter/setter pair
providerData String?
getter/setter pair
providerToken String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendEmailToProvider bool?
getter/setter pair
sendPhoneNumberToProvider bool?
getter/setter pair
suggestedTipAmounts List<int>?
getter/setter pair
title String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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