InlineQueryResult class abstract

This object represents one result of an inline query. Telegram clients currently support results of the following 20 types:

Implementers

Constructors

InlineQueryResult({required String id})
Creates a new InlineQueryResult object.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for this result, 1-64 Bytes
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type InlineQueryResultType
Type of the result
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a InlineQueryResult to a Map for JSON encoding.
toString() String
A string representation of this object.
inherited

Operators

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