UpdateNewChosenInlineResult class final

The user has chosen a result of an inline query; for bots only

Inheritance

Constructors

UpdateNewChosenInlineResult({required int senderUserId, Location? userLocation, required String query, required String resultId, required String inlineMessageId, dynamic extra, int? clientId})
The user has chosen a result of an inline query; for bots only
const
UpdateNewChosenInlineResult.fromJson(Map<String, dynamic> json)
Parses a UpdateNewChosenInlineResult from TDLib JSON.
factory

Properties

clientId → int?
Identifier of the TDLib client that sent this object.
final
extra → dynamic
"@extra" of the request this object answers.
final
hashCode → int
The hash code for this object.
no setterinherited
inlineMessageId → String
Identifier of the sent inline message, if known
final
query → String
Text of the query
final
resultId → String
Identifier of the chosen result
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
senderUserId → int
Identifier of the user who sent the query
final
userLocation → Location?
User location; may be null
final

Methods

copyWith({int? senderUserId, Location? userLocation()?, String? query, String? resultId, String? inlineMessageId, dynamic extra, int? clientId}) → UpdateNewChosenInlineResult
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
TDLib type name.