ChatBoostSourceType enum
Type of the chat boost source.
Constructors
- ChatBoostSourceType.fromJson(String json)
-
Creates a source type from a
json
object.factory
Values
-
The chat was boosted by the user's Telegram Premium subscription.
const ChatBoostSourceType._('premium')
- giftCode → const ChatBoostSourceType
-
The chat was boosted using a gift code.
const ChatBoostSourceType._('gift_code')
- giveaway → const ChatBoostSourceType
-
The chat was boosted using a giveaway.
const ChatBoostSourceType._('giveaway')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ChatBoostSourceType> - A constant List of the values in this enum, in order of their declaration.