MessageForumTopicEdited class final

MessageForumTopicEdited (messageForumTopicEdited) - child of MessageContent

A forum topic has been edited.

  • name: If non-empty, the new name of the topic.
  • editIconCustomEmojiId: True, if icon's custom_emoji_id is changed.
  • iconCustomEmojiId: New unique identifier of the custom emoji shown on the topic icon; 0 if none. Must be ignored if edit_icon_custom_emoji_id is false.
Inheritance

Constructors

MessageForumTopicEdited({required String name, required bool editIconCustomEmojiId, required int iconCustomEmojiId})
MessageForumTopicEdited (messageForumTopicEdited) - child of MessageContent
const
MessageForumTopicEdited.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

clientId → int?
Client ID, from which this object was received
no setterinherited
currentObjectId → String
TDLib object type for current class instance
no setteroverride
editIconCustomEmojiId → bool
True, if icon's custom_emoji_id is changed
final
extra → dynamic
A sign from TDLib update
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
iconCustomEmojiId → int
New unique identifier of the custom emoji shown on the topic icon; 0 if none. Must be ignored if edit_icon_custom_emoji_id is false
final
name → String
If non-empty, the new name of the topic
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? name, bool? editIconCustomEmojiId, int? iconCustomEmojiId}) → MessageForumTopicEdited
Copy model with modified properties.
override
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