ForumTopicInfo class
Constructors
- ForumTopicInfo({required int messageThreadId, required String name, required ForumTopicIcon icon, required int creationDate, required MessageSender creatorId, required bool isGeneral, required bool isOutgoing, required bool isClosed, required bool isHidden, dynamic extra, int? clientId})
-
Contains basic information about a forum topic
const
-
ForumTopicInfo.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
- clientId → int?
-
clientId client identifier
final
- creationDate → int
-
creationDate Point in time (Unix timestamp) when the topic was created
final
- creatorId → MessageSender
-
creatorId Identifier of the creator of the topic
final
- extra → dynamic
-
extra callback sign
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → ForumTopicIcon
-
icon Icon of the topic
final
- isClosed → bool
-
isClosed True, if the topic is closed
final
- isGeneral → bool
-
isGeneral True, if the topic is the General topic list
final
- isHidden → bool
-
isHidden True, if the topic is hidden above the topic list and closed; for General topic only
final
- isOutgoing → bool
-
isOutgoing True, if the topic was created by the current user
final
- messageThreadId → int
-
messageThreadId Message thread identifier of the topic
final
- name → String
-
name Name of the topic
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? messageThreadId, String? name, ForumTopicIcon? icon, int? creationDate, MessageSender? creatorId, bool? isGeneral, bool? isOutgoing, bool? isClosed, bool? isHidden, dynamic extra, int? clientId}) → ForumTopicInfo -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String