ForumTopicInfo class final

ForumTopicInfo (forumTopicInfo) - basic class

Contains basic information about a forum topic.

  • messageThreadId: Message thread identifier of the topic.
  • name: Name of the topic.
  • icon: Icon of the topic.
  • creationDate: Point in time (Unix timestamp) when the topic was created.
  • creatorId: Identifier of the creator of the topic.
  • isGeneral: True, if the topic is the General topic list.
  • isOutgoing: True, if the topic was created by the current user.
  • isClosed: True, if the topic is closed.
  • isHidden: True, if the topic is hidden above the topic list and closed; for General topic only.
Inheritance

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})
ForumTopicInfo (forumTopicInfo) - basic class
const
ForumTopicInfo.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

clientId → int?
clientId client identifier
final
creationDate → int
Point in time (Unix timestamp) when the topic was created
final
creatorId → MessageSender
Identifier of the creator of the topic
final
currentObjectId → String
TDLib object type for current class instance
no setteroverride
extra → dynamic
extra callback sign
final
hashCode → int
The hash code for this object.
no setterinherited
icon → ForumTopicIcon
Icon of the topic
final
isClosed → bool
True, if the topic is closed
final
isGeneral → bool
True, if the topic is the General topic list
final
isHidden → bool
True, if the topic is hidden above the topic list and closed; for General topic only
final
isOutgoing → bool
True, if the topic was created by the current user
final
messageThreadId → int
Message thread identifier of the topic
final
name → String
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
Copy model with modified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Convert model to TDLib JSON format
override
toString() → String
Convert model to TDLib JSON format, encoded into String.
override

Operators

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

Constants

defaultObjectId → const String
TDLib object type