PaidMessagesWaived class abstract

A service message sent when the sender uses a link to message the recipient without paying Telegram Stars. This object has no fields.

Available extensions
Annotations
  • @freezed

Constructors

PaidMessagesWaived()
Creates a PaidMessagesWaived.
const
factory
PaidMessagesWaived.fromJson(Map<String, dynamic> json)
Creates a PaidMessagesWaived from JSON.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_PaidMessagesWaived value)) → TResult

Available on PaidMessagesWaived, provided by the PaidMessagesWaivedPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_PaidMessagesWaived value)?) → TResult?

Available on PaidMessagesWaived, provided by the PaidMessagesWaivedPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_PaidMessagesWaived value)?, {required TResult orElse()}) → TResult

Available on PaidMessagesWaived, provided by the PaidMessagesWaivedPatterns extension

A variant of map that fallback to returning orElse.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes this PaidMessagesWaived to a JSON map.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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