ForumTopic class
Describes a forum topic.
- Inheritance
- Available Extensions
Constructors
- ForumTopic({required ForumTopicInfo info, Message? last_message, required bool is_pinned, required int unread_count, required int last_read_inbox_message_id, required int last_read_outbox_message_id, required int unread_mention_count, required int unread_reaction_count, required ChatNotificationSettings notification_settings, DraftMessage? draft_message, int? extra, int? clientId})
- Describes a forum topic
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- draft_message ↔ DraftMessage?
-
A draft of a message in the topic; may be null if none.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- info ↔ ForumTopicInfo
-
Basic information about the topic.
read / write
- is_pinned ↔ bool
-
True, if the topic is pinned in the topic list.
read / write
- last_message ↔ Message?
-
Last message in the topic; may be null if unknown.
read / write
- last_read_inbox_message_id ↔ int
-
Identifier of the last read incoming message.
read / write
- last_read_outbox_message_id ↔ int
-
Identifier of the last read outgoing message.
read / write
- notification_settings ↔ ChatNotificationSettings
-
Notification settings for the topic.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- unread_count ↔ int
-
Number of unread messages in the topic.
read / write
- unread_mention_count ↔ int
-
Number of unread messages with a mention/reply in the topic.
read / write
- unread_reaction_count ↔ int
-
Number of messages with unread reactions in the topic.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → ForumTopic? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"forumTopic"