TeleDartInlineQuery class
A recieved inline query
It is returned by the TeleDart.onInlineQuery method.
This class combines InlineQuery and TeleDart to add the answer method, which lets you easily reply to inline queries.
- Inheritance
-
- Object
- InlineQuery
- TeleDartInlineQuery
Constructors
- TeleDartInlineQuery(TeleDart _teledart, InlineQuery inlineQuery)
Properties
- chatType ↔ String?
-
getter/setter pairinherited
- from ↔ User
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pairinherited
- location ↔ Location?
-
getter/setter pairinherited
- offset ↔ String
-
getter/setter pairinherited
- query ↔ String
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
answer(
List< InlineQueryResult> results, {int? cacheTime, bool? isPersonal, String? nextOffset, InlineQueryResultsButton? button}) → Future<bool> - Answer the recieved inline query
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited