ForumTopicEdited constructor

const ForumTopicEdited({
  1. @JsonKey(name: 'name') String? name,
  2. @JsonKey(name: 'icon_custom_emoji_id') String? iconCustomEmojiId,
})

Creates a new ForumTopicEdited object.

Implementation

const factory ForumTopicEdited({
  /// Optional. New name of the topic, if it was edited
  @JsonKey(name: 'name') String? name,

  /// Optional. New identifier of the custom emoji shown as the topic icon,
  /// if it was edited; an empty string if the icon was removed
  @JsonKey(name: 'icon_custom_emoji_id') String? iconCustomEmojiId,
}) = _ForumTopicEdited;