UserSupportInfo class final
Contains custom information about the user
Constructors
- UserSupportInfo({required FormattedText message, required String author, required int date, dynamic extra, int? clientId})
-
Contains custom information about the user
const
-
UserSupportInfo.fromJson(Map<
String, dynamic> json) -
Parses a UserSupportInfo from TDLib JSON.
factory
Properties
-
Information author
final
- clientId → int?
-
Identifier of the TDLib client that sent this object.
final
- date → int
-
Information change date
final
- extra → dynamic
-
"@extra" of the request this object answers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → FormattedText
-
Information message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{FormattedText? message, String? author, int? date, dynamic extra, int? clientId}) → UserSupportInfo -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
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.