MessagesBotCallbackAnswer class
Messages Bot Callback Answer.
ID: 36585ea4
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- MessagesBotCallbackAnswerBase
- MessagesBotCallbackAnswer
Constructors
- MessagesBotCallbackAnswer({required bool alert, required bool hasUrl, required bool nativeUi, String? message, String? url, required int cacheTime})
-
Messages Bot Callback Answer constructor.
const
- MessagesBotCallbackAnswer.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- alert → bool
-
alert: bit 1 of flags.1?true
final
- cacheTime → int
-
Cache Time.
final
- flags → int
-
Flags.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasUrl → bool
-
has_url: bit 3 of flags.3?true
final
- message → String?
-
Message.
final
- nativeUi → bool
-
native_ui: bit 4 of flags.4?true
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String?
-
Url.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
List< int> buffer) → void -
Serialize.
override
-
toJson(
) → Map< String, dynamic> -
Converts an object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited