MessageContentGenerator class
Basically stuffs the input message content to the Inline Query Result
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
contact(
String firstName, String phoneNumber, {String? lastName, String? vcard}) → InputContactMessageContent - Adds contact content to the result
-
invoice(
{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, String? photoUrl, int? photoSize, int? photoWidth, int? photoHeight, bool? needName, bool? needPhoneNumber, bool? needEmail, bool? needShippingAddress, bool? sendPhoneNumberToProvider, bool? sendEmailToProvider, bool? isFlexible}) → InputInvoiceMessageContent - Adds an invoice message to be sent as the result of an inline query.
-
location(
double latitude, double longitude, {int? livePeriod, int? horizontalAccuracy, int? heading, int? proximityAlertRadius}) → InputLocationMessageContent - Adds location content to the result
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
text(
String messageText, {ParseMode? parseMode, List< MessageEntity> ? entities, LinkPreviewOptions? linkPreviewOptions}) → InputTextMessageContent - Adds Text Input Message Content to the result
-
toString(
) → String -
A string representation of this object.
inherited
-
venue(
double latitude, double longitude, {required String title, required String address, String? foursquareId, String? foursquareType, String? googlePlaceId, String? googlePlaceType}) → InputVenueMessageContent - Adds Venue content to the result
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- i → MessageContentGenerator
-
Shorthand for instance of InputMessageContentStuffer
no setter
- instance → MessageContentGenerator
-
Instance of the InputMessageContentStuffer
no setter