GroupCallMessageLevel class final

Represents a level of features for a message sent in a live story group call

Inheritance

Constructors

GroupCallMessageLevel({required int minStarCount, required int pinDuration, required int maxTextLength, required int maxCustomEmojiCount, required int firstColor, required int secondColor, required int backgroundColor})
Represents a level of features for a message sent in a live story group call
const
GroupCallMessageLevel.fromJson(Map<String, dynamic> json)
Parses a GroupCallMessageLevel from TDLib JSON.
factory

Properties

backgroundColor → int
Background color for the message in the RGB format
final
clientId → int?
Identifier of the TDLib client that sent this object, when known.
no setterinherited
extra → dynamic
"@extra" of the request this object answers; null for updates.
no setterinherited
firstColor → int
The first color used to show the message text in the RGB format
final
hashCode → int
The hash code for this object.
no setterinherited
maxCustomEmojiCount → int
The maximum allowed number of custom emoji in the message text
final
maxTextLength → int
The maximum allowed length of the message text
final
minStarCount → int
The minimum number of Telegram Stars required to get features of the level
final
pinDuration → int
The amount of time the message of this level will be pinned, in seconds
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondColor → int
The second color used to show the message text in the RGB format
final

Methods

copyWith({int? minStarCount, int? pinDuration, int? maxTextLength, int? maxCustomEmojiCount, int? firstColor, int? secondColor, int? backgroundColor}) → GroupCallMessageLevel
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to 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.