ChatBoostSourcePremium class

The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.

Implemented types

Constructors

ChatBoostSourcePremium({required User user})
Creates a source of a chat boost.
const
ChatBoostSourcePremium.fromJson(Map<String, dynamic> json)
Creates a ChatBoostSourcePremium object from a JSON object.
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
type ChatBoostSourceType
Source of the boost
final
user User
User that boosted the chat
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the ChatBoostSourcePremium object to a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

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