TeleDartCallbackQuery class

A recieved callback query

It is returned by the TeleDart.onCallbackQuery method.

This class combines CallbackQuery and TeleDart to add the answer method, which lets you easily reply to callback queries.

Inheritance

Constructors

TeleDartCallbackQuery(TeleDart _teledart, CallbackQuery callbackQuery)

Properties

chatInstance String?
getter/setter pairinherited
data String?
getter/setter pairinherited
from User
getter/setter pairinherited
gameShortName String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pairinherited
inlineMessageId String?
getter/setter pairinherited
message Message?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
teledartMessage TeleDartMessage?
no setter

Methods

answer({String? text, bool? showAlert, String? url, int? cacheTime}) Future<bool>
Answer the recieved callback 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