ForumTopicCreated class
This object represents a service message about a new forum topic created in the chat.
Constructors
- ForumTopicCreated({required String name, required int color, String? iconCustomEmojiId})
-
Creates a new ForumTopicCreated object.
const
-
ForumTopicCreated.fromJson(Map<
String, dynamic> json) -
Creates a new ForumTopicCreated object from json.
factory
Properties
- color → int
-
Color of the topic icon in RGB format
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconCustomEmojiId → String?
-
Optional. Unique identifier of the custom emoji shown as the topic icon
final
- name → String
-
Name of the topic
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a ForumTopicCreated object to json.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited