ChatBoostStatus class

Describes current boost status of a chat.

Inheritance
Available Extensions

Constructors

ChatBoostStatus({required bool is_boosted, required int level, required int boost_count, required int current_level_boost_count, required int next_level_boost_count, required int premium_member_count, required double premium_member_percentage, int? extra, int? clientId})
Describes current boost status of a chat

Properties

boost_count int
The number of times the chat was boosted.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
current_level_boost_count int
The number of boosts added to reach the current level.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
is_boosted bool
True, if the current user has already boosted the chat.
read / write
level int
Current boost level of the chat.
read / write
next_level_boost_count int
The number of boosts needed to reach the next level; 0 if the next level isn't available.
read / write
premium_member_count int
Approximate number of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat.
read / write
premium_member_percentage double
A percentage of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) ChatBoostStatus?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"chatBoostStatus"