ForumTopic class

This object represents a forum topic.

Constructors

ForumTopic({required String messageThreadId, required String name, required int iconColor, String? iconCustomEmojiId})
Creates a new ForumTopic object.
const
ForumTopic.fromJson(Map<String, dynamic> json)
Creates a new ForumTopic object from json.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
iconColor int
Color of the topic icon in RGB format
final
iconCustomEmojiId String?
Optional. Unique identifier of the custom emoji shown as the topic icon
final
messageThreadId String
Unique identifier of the forum topic
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 ForumTopic object to json.
toString() String
A string representation of this object.
inherited

Operators

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