MessageForumTopicEdited.fromJson constructor

MessageForumTopicEdited.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory MessageForumTopicEdited.fromJson(Map<String, dynamic> json) =>
    MessageForumTopicEdited(
      name: json['name'],
      editIconCustomEmojiId: json['edit_icon_custom_emoji_id'],
      iconCustomEmojiId:
          int.tryParse(json['icon_custom_emoji_id'] ?? "") ?? 0,
    );