ForumTopic class
Describes a forum topic
Constructors
- ForumTopic({String? extra, int? client_id, ForumTopicInfo? info, Message? last_message, Bool? is_pinned, int32? unread_count, int53? last_read_inbox_message_id, int53? last_read_outbox_message_id, int32? unread_mention_count, int32? unread_reaction_count, ChatNotificationSettings? notification_settings, DraftMessage? draft_message})
-
ForumTopic.fromMap(Map<
String, dynamic> map)
Properties
- client_id ↔ int?
-
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
- draft_message ↔ DraftMessage?
-
A draft of a message in the topic; may be null
getter/setter pair
- extra ↔ String?
-
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- info ↔ ForumTopicInfo?
-
Basic information about the topic
getter/setter pair
- is_pinned ↔ Bool?
-
True, if the topic is pinned in the topic list
getter/setter pair
- last_message ↔ Message?
-
Last message in the topic; may be null if unknown
getter/setter pair
- last_read_inbox_message_id ↔ int53?
-
Identifier of the last read incoming message
getter/setter pair
- last_read_outbox_message_id ↔ int53?
-
Identifier of the last read outgoing message
getter/setter pair
- notification_settings ↔ ChatNotificationSettings?
-
Notification settings for the topic
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tdType → String
-
JSON object type; maps to the field @type.
no setteroverride
- unread_count ↔ int32?
-
Number of unread messages in the topic
getter/setter pair
- unread_mention_count ↔ int32?
-
Number of unread messages with a mention/reply in the topic
getter/setter pair
- unread_reaction_count ↔ int32?
-
Number of messages with unread reactions in the topic
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{dynamic skipNulls = true}) → String -
Serialize a Td instance to a JSON string.
If
skipNullsistruethe fields with null values are not serialized.inherited -
toMap(
{dynamic skipNulls = true}) → Map< String, dynamic> -
Create a Map from a Td instance.
override
-
toString(
{dynamic skipNulls = false}) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited