toJson method

  1. @override
Map<String, dynamic> toJson([
  1. dynamic extra
])
override

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "mute_for": muteFor,
    "sound_id": soundId,
    "show_preview": showPreview,
    "use_default_mute_stories": useDefaultMuteStories,
    "mute_stories": muteStories,
    "story_sound_id": storySoundId,
    "show_story_sender": showStorySender,
    "disable_pinned_message_notifications": disablePinnedMessageNotifications,
    "disable_mention_notifications": disableMentionNotifications,
  };
}