create static method

Update create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "update",
  3. bool special_is_json_scheme_class = true,
  4. String special_return_type = "update",
  5. UpdateAuthorizationState? update_authorization_state,
  6. UpdateNewMessage? update_new_message,
  7. UpdateMessageSendAcknowledged? update_message_send_acknowledged,
  8. UpdateMessageSendSucceeded? update_message_send_succeeded,
  9. UpdateMessageSendFailed? update_message_send_failed,
  10. UpdateMessageContent? update_message_content,
  11. UpdateMessageEdited? update_message_edited,
  12. UpdateMessageIsPinned? update_message_is_pinned,
  13. UpdateMessageInteractionInfo? update_message_interaction_info,
  14. UpdateMessageContentOpened? update_message_content_opened,
  15. UpdateMessageMentionRead? update_message_mention_read,
  16. UpdateMessageUnreadReactions? update_message_unread_reactions,
  17. UpdateMessageFactCheck? update_message_fact_check,
  18. UpdateMessageLiveLocationViewed? update_message_live_location_viewed,
  19. UpdateVideoPublished? update_video_published,
  20. UpdateNewChat? update_new_chat,
  21. UpdateChatTitle? update_chat_title,
  22. UpdateChatPhoto? update_chat_photo,
  23. UpdateChatAccentColors? update_chat_accent_colors,
  24. UpdateChatPermissions? update_chat_permissions,
  25. UpdateChatLastMessage? update_chat_last_message,
  26. UpdateChatPosition? update_chat_position,
  27. UpdateChatAddedToList? update_chat_added_to_list,
  28. UpdateChatRemovedFromList? update_chat_removed_from_list,
  29. UpdateChatReadInbox? update_chat_read_inbox,
  30. UpdateChatReadOutbox? update_chat_read_outbox,
  31. UpdateChatActionBar? update_chat_action_bar,
  32. UpdateChatBusinessBotManageBar? update_chat_business_bot_manage_bar,
  33. UpdateChatAvailableReactions? update_chat_available_reactions,
  34. UpdateChatDraftMessage? update_chat_draft_message,
  35. UpdateChatEmojiStatus? update_chat_emoji_status,
  36. UpdateChatMessageSender? update_chat_message_sender,
  37. UpdateChatMessageAutoDeleteTime? update_chat_message_auto_delete_time,
  38. UpdateChatNotificationSettings? update_chat_notification_settings,
  39. UpdateChatPendingJoinRequests? update_chat_pending_join_requests,
  40. UpdateChatReplyMarkup? update_chat_reply_markup,
  41. UpdateChatBackground? update_chat_background,
  42. UpdateChatTheme? update_chat_theme,
  43. UpdateChatUnreadMentionCount? update_chat_unread_mention_count,
  44. UpdateChatUnreadReactionCount? update_chat_unread_reaction_count,
  45. UpdateChatVideoChat? update_chat_video_chat,
  46. UpdateChatDefaultDisableNotification? update_chat_default_disable_notification,
  47. UpdateChatHasProtectedContent? update_chat_has_protected_content,
  48. UpdateChatIsTranslatable? update_chat_is_translatable,
  49. UpdateChatIsMarkedAsUnread? update_chat_is_marked_as_unread,
  50. UpdateChatViewAsTopics? update_chat_view_as_topics,
  51. UpdateChatBlockList? update_chat_block_list,
  52. UpdateChatHasScheduledMessages? update_chat_has_scheduled_messages,
  53. UpdateChatFolders? update_chat_folders,
  54. UpdateChatOnlineMemberCount? update_chat_online_member_count,
  55. UpdateSavedMessagesTopic? update_saved_messages_topic,
  56. UpdateSavedMessagesTopicCount? update_saved_messages_topic_count,
  57. UpdateQuickReplyShortcut? update_quick_reply_shortcut,
  58. UpdateQuickReplyShortcutDeleted? update_quick_reply_shortcut_deleted,
  59. UpdateQuickReplyShortcuts? update_quick_reply_shortcuts,
  60. UpdateQuickReplyShortcutMessages? update_quick_reply_shortcut_messages,
  61. UpdateForumTopicInfo? update_forum_topic_info,
  62. UpdateScopeNotificationSettings? update_scope_notification_settings,
  63. UpdateReactionNotificationSettings? update_reaction_notification_settings,
  64. UpdateNotification? update_notification,
  65. UpdateNotificationGroup? update_notification_group,
  66. UpdateActiveNotifications? update_active_notifications,
  67. UpdateHavePendingNotifications? update_have_pending_notifications,
  68. UpdateDeleteMessages? update_delete_messages,
  69. UpdateChatAction? update_chat_action,
  70. UpdateUserStatus? update_user_status,
  71. UpdateUser? update_user,
  72. UpdateBasicGroup? update_basic_group,
  73. UpdateSupergroup? update_supergroup,
  74. UpdateSecretChat? update_secret_chat,
  75. UpdateUserFullInfo? update_user_full_info,
  76. UpdateBasicGroupFullInfo? update_basic_group_full_info,
  77. UpdateSupergroupFullInfo? update_supergroup_full_info,
  78. UpdateServiceNotification? update_service_notification,
  79. UpdateFile? update_file,
  80. UpdateFileGenerationStart? update_file_generation_start,
  81. UpdateFileGenerationStop? update_file_generation_stop,
  82. UpdateFileDownloads? update_file_downloads,
  83. UpdateFileAddedToDownloads? update_file_added_to_downloads,
  84. UpdateFileDownload? update_file_download,
  85. UpdateFileRemovedFromDownloads? update_file_removed_from_downloads,
  86. UpdateApplicationVerificationRequired? update_application_verification_required,
  87. UpdateApplicationRecaptchaVerificationRequired? update_application_recaptcha_verification_required,
  88. UpdateCall? update_call,
  89. UpdateGroupCall? update_group_call,
  90. UpdateGroupCallParticipant? update_group_call_participant,
  91. UpdateNewCallSignalingData? update_new_call_signaling_data,
  92. UpdateUserPrivacySettingRules? update_user_privacy_setting_rules,
  93. UpdateUnreadMessageCount? update_unread_message_count,
  94. UpdateUnreadChatCount? update_unread_chat_count,
  95. UpdateStory? update_story,
  96. UpdateStoryDeleted? update_story_deleted,
  97. UpdateStorySendSucceeded? update_story_send_succeeded,
  98. UpdateStorySendFailed? update_story_send_failed,
  99. UpdateChatActiveStories? update_chat_active_stories,
  100. UpdateStoryListChatCount? update_story_list_chat_count,
  101. UpdateStoryStealthMode? update_story_stealth_mode,
  102. UpdateOption? update_option,
  103. UpdateStickerSet? update_sticker_set,
  104. UpdateInstalledStickerSets? update_installed_sticker_sets,
  105. UpdateTrendingStickerSets? update_trending_sticker_sets,
  106. UpdateRecentStickers? update_recent_stickers,
  107. UpdateFavoriteStickers? update_favorite_stickers,
  108. UpdateSavedAnimations? update_saved_animations,
  109. UpdateSavedNotificationSounds? update_saved_notification_sounds,
  110. UpdateDefaultBackground? update_default_background,
  111. UpdateChatThemes? update_chat_themes,
  112. UpdateAccentColors? update_accent_colors,
  113. UpdateProfileAccentColors? update_profile_accent_colors,
  114. UpdateLanguagePackStrings? update_language_pack_strings,
  115. UpdateConnectionState? update_connection_state,
  116. UpdateTermsOfService? update_terms_of_service,
  117. UpdateUnconfirmedSession? update_unconfirmed_session,
  118. UpdateAttachmentMenuBots? update_attachment_menu_bots,
  119. UpdateWebAppMessageSent? update_web_app_message_sent,
  120. UpdateActiveEmojiReactions? update_active_emoji_reactions,
  121. UpdateAvailableMessageEffects? update_available_message_effects,
  122. UpdateDefaultReactionType? update_default_reaction_type,
  123. UpdateDefaultPaidReactionType? update_default_paid_reaction_type,
  124. UpdateSavedMessagesTags? update_saved_messages_tags,
  125. UpdateActiveLiveLocationMessages? update_active_live_location_messages,
  126. UpdateOwnedStarCount? update_owned_star_count,
  127. UpdateChatRevenueAmount? update_chat_revenue_amount,
  128. UpdateStarRevenueStatus? update_star_revenue_status,
  129. UpdateSpeechRecognitionTrial? update_speech_recognition_trial,
  130. UpdateDiceEmojis? update_dice_emojis,
  131. UpdateAnimatedEmojiMessageClicked? update_animated_emoji_message_clicked,
  132. UpdateAnimationSearchParameters? update_animation_search_parameters,
  133. UpdateSuggestedActions? update_suggested_actions,
  134. UpdateSpeedLimitNotification? update_speed_limit_notification,
  135. UpdateContactCloseBirthdays? update_contact_close_birthdays,
  136. UpdateAutosaveSettings? update_autosave_settings,
  137. UpdateBusinessConnection? update_business_connection,
  138. UpdateNewBusinessMessage? update_new_business_message,
  139. UpdateBusinessMessageEdited? update_business_message_edited,
  140. UpdateBusinessMessagesDeleted? update_business_messages_deleted,
  141. UpdateNewInlineQuery? update_new_inline_query,
  142. UpdateNewChosenInlineResult? update_new_chosen_inline_result,
  143. UpdateNewCallbackQuery? update_new_callback_query,
  144. UpdateNewInlineCallbackQuery? update_new_inline_callback_query,
  145. UpdateNewBusinessCallbackQuery? update_new_business_callback_query,
  146. UpdateNewShippingQuery? update_new_shipping_query,
  147. UpdateNewPreCheckoutQuery? update_new_pre_checkout_query,
  148. UpdateNewCustomEvent? update_new_custom_event,
  149. UpdateNewCustomQuery? update_new_custom_query,
  150. UpdatePoll? update_poll,
  151. UpdatePollAnswer? update_poll_answer,
  152. UpdateChatMember? update_chat_member,
  153. UpdateNewChatJoinRequest? update_new_chat_join_request,
  154. UpdateChatBoost? update_chat_boost,
  155. UpdateMessageReaction? update_message_reaction,
  156. UpdateMessageReactions? update_message_reactions,
  157. UpdatePaidMediaPurchased? update_paid_media_purchased,
  158. Updates? updates,
})
override

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

static Update create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "update",
  bool special_is_json_scheme_class = true,
  String special_return_type = "update",
  UpdateAuthorizationState? update_authorization_state,
  UpdateNewMessage? update_new_message,
  UpdateMessageSendAcknowledged? update_message_send_acknowledged,
  UpdateMessageSendSucceeded? update_message_send_succeeded,
  UpdateMessageSendFailed? update_message_send_failed,
  UpdateMessageContent? update_message_content,
  UpdateMessageEdited? update_message_edited,
  UpdateMessageIsPinned? update_message_is_pinned,
  UpdateMessageInteractionInfo? update_message_interaction_info,
  UpdateMessageContentOpened? update_message_content_opened,
  UpdateMessageMentionRead? update_message_mention_read,
  UpdateMessageUnreadReactions? update_message_unread_reactions,
  UpdateMessageFactCheck? update_message_fact_check,
  UpdateMessageLiveLocationViewed? update_message_live_location_viewed,
  UpdateVideoPublished? update_video_published,
  UpdateNewChat? update_new_chat,
  UpdateChatTitle? update_chat_title,
  UpdateChatPhoto? update_chat_photo,
  UpdateChatAccentColors? update_chat_accent_colors,
  UpdateChatPermissions? update_chat_permissions,
  UpdateChatLastMessage? update_chat_last_message,
  UpdateChatPosition? update_chat_position,
  UpdateChatAddedToList? update_chat_added_to_list,
  UpdateChatRemovedFromList? update_chat_removed_from_list,
  UpdateChatReadInbox? update_chat_read_inbox,
  UpdateChatReadOutbox? update_chat_read_outbox,
  UpdateChatActionBar? update_chat_action_bar,
  UpdateChatBusinessBotManageBar? update_chat_business_bot_manage_bar,
  UpdateChatAvailableReactions? update_chat_available_reactions,
  UpdateChatDraftMessage? update_chat_draft_message,
  UpdateChatEmojiStatus? update_chat_emoji_status,
  UpdateChatMessageSender? update_chat_message_sender,
  UpdateChatMessageAutoDeleteTime? update_chat_message_auto_delete_time,
  UpdateChatNotificationSettings? update_chat_notification_settings,
  UpdateChatPendingJoinRequests? update_chat_pending_join_requests,
  UpdateChatReplyMarkup? update_chat_reply_markup,
  UpdateChatBackground? update_chat_background,
  UpdateChatTheme? update_chat_theme,
  UpdateChatUnreadMentionCount? update_chat_unread_mention_count,
  UpdateChatUnreadReactionCount? update_chat_unread_reaction_count,
  UpdateChatVideoChat? update_chat_video_chat,
  UpdateChatDefaultDisableNotification? update_chat_default_disable_notification,
  UpdateChatHasProtectedContent? update_chat_has_protected_content,
  UpdateChatIsTranslatable? update_chat_is_translatable,
  UpdateChatIsMarkedAsUnread? update_chat_is_marked_as_unread,
  UpdateChatViewAsTopics? update_chat_view_as_topics,
  UpdateChatBlockList? update_chat_block_list,
  UpdateChatHasScheduledMessages? update_chat_has_scheduled_messages,
  UpdateChatFolders? update_chat_folders,
  UpdateChatOnlineMemberCount? update_chat_online_member_count,
  UpdateSavedMessagesTopic? update_saved_messages_topic,
  UpdateSavedMessagesTopicCount? update_saved_messages_topic_count,
  UpdateQuickReplyShortcut? update_quick_reply_shortcut,
  UpdateQuickReplyShortcutDeleted? update_quick_reply_shortcut_deleted,
  UpdateQuickReplyShortcuts? update_quick_reply_shortcuts,
  UpdateQuickReplyShortcutMessages? update_quick_reply_shortcut_messages,
  UpdateForumTopicInfo? update_forum_topic_info,
  UpdateScopeNotificationSettings? update_scope_notification_settings,
  UpdateReactionNotificationSettings? update_reaction_notification_settings,
  UpdateNotification? update_notification,
  UpdateNotificationGroup? update_notification_group,
  UpdateActiveNotifications? update_active_notifications,
  UpdateHavePendingNotifications? update_have_pending_notifications,
  UpdateDeleteMessages? update_delete_messages,
  UpdateChatAction? update_chat_action,
  UpdateUserStatus? update_user_status,
  UpdateUser? update_user,
  UpdateBasicGroup? update_basic_group,
  UpdateSupergroup? update_supergroup,
  UpdateSecretChat? update_secret_chat,
  UpdateUserFullInfo? update_user_full_info,
  UpdateBasicGroupFullInfo? update_basic_group_full_info,
  UpdateSupergroupFullInfo? update_supergroup_full_info,
  UpdateServiceNotification? update_service_notification,
  UpdateFile? update_file,
  UpdateFileGenerationStart? update_file_generation_start,
  UpdateFileGenerationStop? update_file_generation_stop,
  UpdateFileDownloads? update_file_downloads,
  UpdateFileAddedToDownloads? update_file_added_to_downloads,
  UpdateFileDownload? update_file_download,
  UpdateFileRemovedFromDownloads? update_file_removed_from_downloads,
  UpdateApplicationVerificationRequired? update_application_verification_required,
  UpdateApplicationRecaptchaVerificationRequired? update_application_recaptcha_verification_required,
  UpdateCall? update_call,
  UpdateGroupCall? update_group_call,
  UpdateGroupCallParticipant? update_group_call_participant,
  UpdateNewCallSignalingData? update_new_call_signaling_data,
  UpdateUserPrivacySettingRules? update_user_privacy_setting_rules,
  UpdateUnreadMessageCount? update_unread_message_count,
  UpdateUnreadChatCount? update_unread_chat_count,
  UpdateStory? update_story,
  UpdateStoryDeleted? update_story_deleted,
  UpdateStorySendSucceeded? update_story_send_succeeded,
  UpdateStorySendFailed? update_story_send_failed,
  UpdateChatActiveStories? update_chat_active_stories,
  UpdateStoryListChatCount? update_story_list_chat_count,
  UpdateStoryStealthMode? update_story_stealth_mode,
  UpdateOption? update_option,
  UpdateStickerSet? update_sticker_set,
  UpdateInstalledStickerSets? update_installed_sticker_sets,
  UpdateTrendingStickerSets? update_trending_sticker_sets,
  UpdateRecentStickers? update_recent_stickers,
  UpdateFavoriteStickers? update_favorite_stickers,
  UpdateSavedAnimations? update_saved_animations,
  UpdateSavedNotificationSounds? update_saved_notification_sounds,
  UpdateDefaultBackground? update_default_background,
  UpdateChatThemes? update_chat_themes,
  UpdateAccentColors? update_accent_colors,
  UpdateProfileAccentColors? update_profile_accent_colors,
  UpdateLanguagePackStrings? update_language_pack_strings,
  UpdateConnectionState? update_connection_state,
  UpdateTermsOfService? update_terms_of_service,
  UpdateUnconfirmedSession? update_unconfirmed_session,
  UpdateAttachmentMenuBots? update_attachment_menu_bots,
  UpdateWebAppMessageSent? update_web_app_message_sent,
  UpdateActiveEmojiReactions? update_active_emoji_reactions,
  UpdateAvailableMessageEffects? update_available_message_effects,
  UpdateDefaultReactionType? update_default_reaction_type,
  UpdateDefaultPaidReactionType? update_default_paid_reaction_type,
  UpdateSavedMessagesTags? update_saved_messages_tags,
  UpdateActiveLiveLocationMessages? update_active_live_location_messages,
  UpdateOwnedStarCount? update_owned_star_count,
  UpdateChatRevenueAmount? update_chat_revenue_amount,
  UpdateStarRevenueStatus? update_star_revenue_status,
  UpdateSpeechRecognitionTrial? update_speech_recognition_trial,
  UpdateDiceEmojis? update_dice_emojis,
  UpdateAnimatedEmojiMessageClicked? update_animated_emoji_message_clicked,
  UpdateAnimationSearchParameters? update_animation_search_parameters,
  UpdateSuggestedActions? update_suggested_actions,
  UpdateSpeedLimitNotification? update_speed_limit_notification,
  UpdateContactCloseBirthdays? update_contact_close_birthdays,
  UpdateAutosaveSettings? update_autosave_settings,
  UpdateBusinessConnection? update_business_connection,
  UpdateNewBusinessMessage? update_new_business_message,
  UpdateBusinessMessageEdited? update_business_message_edited,
  UpdateBusinessMessagesDeleted? update_business_messages_deleted,
  UpdateNewInlineQuery? update_new_inline_query,
  UpdateNewChosenInlineResult? update_new_chosen_inline_result,
  UpdateNewCallbackQuery? update_new_callback_query,
  UpdateNewInlineCallbackQuery? update_new_inline_callback_query,
  UpdateNewBusinessCallbackQuery? update_new_business_callback_query,
  UpdateNewShippingQuery? update_new_shipping_query,
  UpdateNewPreCheckoutQuery? update_new_pre_checkout_query,
  UpdateNewCustomEvent? update_new_custom_event,
  UpdateNewCustomQuery? update_new_custom_query,
  UpdatePoll? update_poll,
  UpdatePollAnswer? update_poll_answer,
  UpdateChatMember? update_chat_member,
  UpdateNewChatJoinRequest? update_new_chat_join_request,
  UpdateChatBoost? update_chat_boost,
  UpdateMessageReaction? update_message_reaction,
  UpdateMessageReactions? update_message_reactions,
  UpdatePaidMediaPurchased? update_paid_media_purchased,
  Updates? updates,
}) {
  // Update update = Update({
  final Map update_data_create_json = {
    "@type": special_type,
    "@is_json_scheme_class": special_is_json_scheme_class,
    "@return_type": special_return_type,
    "update_authorization_state": (update_authorization_state != null) ? update_authorization_state.toJson() : null,
    "update_new_message": (update_new_message != null) ? update_new_message.toJson() : null,
    "update_message_send_acknowledged": (update_message_send_acknowledged != null) ? update_message_send_acknowledged.toJson() : null,
    "update_message_send_succeeded": (update_message_send_succeeded != null) ? update_message_send_succeeded.toJson() : null,
    "update_message_send_failed": (update_message_send_failed != null) ? update_message_send_failed.toJson() : null,
    "update_message_content": (update_message_content != null) ? update_message_content.toJson() : null,
    "update_message_edited": (update_message_edited != null) ? update_message_edited.toJson() : null,
    "update_message_is_pinned": (update_message_is_pinned != null) ? update_message_is_pinned.toJson() : null,
    "update_message_interaction_info": (update_message_interaction_info != null) ? update_message_interaction_info.toJson() : null,
    "update_message_content_opened": (update_message_content_opened != null) ? update_message_content_opened.toJson() : null,
    "update_message_mention_read": (update_message_mention_read != null) ? update_message_mention_read.toJson() : null,
    "update_message_unread_reactions": (update_message_unread_reactions != null) ? update_message_unread_reactions.toJson() : null,
    "update_message_fact_check": (update_message_fact_check != null) ? update_message_fact_check.toJson() : null,
    "update_message_live_location_viewed": (update_message_live_location_viewed != null) ? update_message_live_location_viewed.toJson() : null,
    "update_video_published": (update_video_published != null) ? update_video_published.toJson() : null,
    "update_new_chat": (update_new_chat != null) ? update_new_chat.toJson() : null,
    "update_chat_title": (update_chat_title != null) ? update_chat_title.toJson() : null,
    "update_chat_photo": (update_chat_photo != null) ? update_chat_photo.toJson() : null,
    "update_chat_accent_colors": (update_chat_accent_colors != null) ? update_chat_accent_colors.toJson() : null,
    "update_chat_permissions": (update_chat_permissions != null) ? update_chat_permissions.toJson() : null,
    "update_chat_last_message": (update_chat_last_message != null) ? update_chat_last_message.toJson() : null,
    "update_chat_position": (update_chat_position != null) ? update_chat_position.toJson() : null,
    "update_chat_added_to_list": (update_chat_added_to_list != null) ? update_chat_added_to_list.toJson() : null,
    "update_chat_removed_from_list": (update_chat_removed_from_list != null) ? update_chat_removed_from_list.toJson() : null,
    "update_chat_read_inbox": (update_chat_read_inbox != null) ? update_chat_read_inbox.toJson() : null,
    "update_chat_read_outbox": (update_chat_read_outbox != null) ? update_chat_read_outbox.toJson() : null,
    "update_chat_action_bar": (update_chat_action_bar != null) ? update_chat_action_bar.toJson() : null,
    "update_chat_business_bot_manage_bar": (update_chat_business_bot_manage_bar != null) ? update_chat_business_bot_manage_bar.toJson() : null,
    "update_chat_available_reactions": (update_chat_available_reactions != null) ? update_chat_available_reactions.toJson() : null,
    "update_chat_draft_message": (update_chat_draft_message != null) ? update_chat_draft_message.toJson() : null,
    "update_chat_emoji_status": (update_chat_emoji_status != null) ? update_chat_emoji_status.toJson() : null,
    "update_chat_message_sender": (update_chat_message_sender != null) ? update_chat_message_sender.toJson() : null,
    "update_chat_message_auto_delete_time": (update_chat_message_auto_delete_time != null) ? update_chat_message_auto_delete_time.toJson() : null,
    "update_chat_notification_settings": (update_chat_notification_settings != null) ? update_chat_notification_settings.toJson() : null,
    "update_chat_pending_join_requests": (update_chat_pending_join_requests != null) ? update_chat_pending_join_requests.toJson() : null,
    "update_chat_reply_markup": (update_chat_reply_markup != null) ? update_chat_reply_markup.toJson() : null,
    "update_chat_background": (update_chat_background != null) ? update_chat_background.toJson() : null,
    "update_chat_theme": (update_chat_theme != null) ? update_chat_theme.toJson() : null,
    "update_chat_unread_mention_count": (update_chat_unread_mention_count != null) ? update_chat_unread_mention_count.toJson() : null,
    "update_chat_unread_reaction_count": (update_chat_unread_reaction_count != null) ? update_chat_unread_reaction_count.toJson() : null,
    "update_chat_video_chat": (update_chat_video_chat != null) ? update_chat_video_chat.toJson() : null,
    "update_chat_default_disable_notification": (update_chat_default_disable_notification != null) ? update_chat_default_disable_notification.toJson() : null,
    "update_chat_has_protected_content": (update_chat_has_protected_content != null) ? update_chat_has_protected_content.toJson() : null,
    "update_chat_is_translatable": (update_chat_is_translatable != null) ? update_chat_is_translatable.toJson() : null,
    "update_chat_is_marked_as_unread": (update_chat_is_marked_as_unread != null) ? update_chat_is_marked_as_unread.toJson() : null,
    "update_chat_view_as_topics": (update_chat_view_as_topics != null) ? update_chat_view_as_topics.toJson() : null,
    "update_chat_block_list": (update_chat_block_list != null) ? update_chat_block_list.toJson() : null,
    "update_chat_has_scheduled_messages": (update_chat_has_scheduled_messages != null) ? update_chat_has_scheduled_messages.toJson() : null,
    "update_chat_folders": (update_chat_folders != null) ? update_chat_folders.toJson() : null,
    "update_chat_online_member_count": (update_chat_online_member_count != null) ? update_chat_online_member_count.toJson() : null,
    "update_saved_messages_topic": (update_saved_messages_topic != null) ? update_saved_messages_topic.toJson() : null,
    "update_saved_messages_topic_count": (update_saved_messages_topic_count != null) ? update_saved_messages_topic_count.toJson() : null,
    "update_quick_reply_shortcut": (update_quick_reply_shortcut != null) ? update_quick_reply_shortcut.toJson() : null,
    "update_quick_reply_shortcut_deleted": (update_quick_reply_shortcut_deleted != null) ? update_quick_reply_shortcut_deleted.toJson() : null,
    "update_quick_reply_shortcuts": (update_quick_reply_shortcuts != null) ? update_quick_reply_shortcuts.toJson() : null,
    "update_quick_reply_shortcut_messages": (update_quick_reply_shortcut_messages != null) ? update_quick_reply_shortcut_messages.toJson() : null,
    "update_forum_topic_info": (update_forum_topic_info != null) ? update_forum_topic_info.toJson() : null,
    "update_scope_notification_settings": (update_scope_notification_settings != null) ? update_scope_notification_settings.toJson() : null,
    "update_reaction_notification_settings": (update_reaction_notification_settings != null) ? update_reaction_notification_settings.toJson() : null,
    "update_notification": (update_notification != null) ? update_notification.toJson() : null,
    "update_notification_group": (update_notification_group != null) ? update_notification_group.toJson() : null,
    "update_active_notifications": (update_active_notifications != null) ? update_active_notifications.toJson() : null,
    "update_have_pending_notifications": (update_have_pending_notifications != null) ? update_have_pending_notifications.toJson() : null,
    "update_delete_messages": (update_delete_messages != null) ? update_delete_messages.toJson() : null,
    "update_chat_action": (update_chat_action != null) ? update_chat_action.toJson() : null,
    "update_user_status": (update_user_status != null) ? update_user_status.toJson() : null,
    "update_user": (update_user != null) ? update_user.toJson() : null,
    "update_basic_group": (update_basic_group != null) ? update_basic_group.toJson() : null,
    "update_supergroup": (update_supergroup != null) ? update_supergroup.toJson() : null,
    "update_secret_chat": (update_secret_chat != null) ? update_secret_chat.toJson() : null,
    "update_user_full_info": (update_user_full_info != null) ? update_user_full_info.toJson() : null,
    "update_basic_group_full_info": (update_basic_group_full_info != null) ? update_basic_group_full_info.toJson() : null,
    "update_supergroup_full_info": (update_supergroup_full_info != null) ? update_supergroup_full_info.toJson() : null,
    "update_service_notification": (update_service_notification != null) ? update_service_notification.toJson() : null,
    "update_file": (update_file != null) ? update_file.toJson() : null,
    "update_file_generation_start": (update_file_generation_start != null) ? update_file_generation_start.toJson() : null,
    "update_file_generation_stop": (update_file_generation_stop != null) ? update_file_generation_stop.toJson() : null,
    "update_file_downloads": (update_file_downloads != null) ? update_file_downloads.toJson() : null,
    "update_file_added_to_downloads": (update_file_added_to_downloads != null) ? update_file_added_to_downloads.toJson() : null,
    "update_file_download": (update_file_download != null) ? update_file_download.toJson() : null,
    "update_file_removed_from_downloads": (update_file_removed_from_downloads != null) ? update_file_removed_from_downloads.toJson() : null,
    "update_application_verification_required": (update_application_verification_required != null) ? update_application_verification_required.toJson() : null,
    "update_application_recaptcha_verification_required": (update_application_recaptcha_verification_required != null) ? update_application_recaptcha_verification_required.toJson() : null,
    "update_call": (update_call != null) ? update_call.toJson() : null,
    "update_group_call": (update_group_call != null) ? update_group_call.toJson() : null,
    "update_group_call_participant": (update_group_call_participant != null) ? update_group_call_participant.toJson() : null,
    "update_new_call_signaling_data": (update_new_call_signaling_data != null) ? update_new_call_signaling_data.toJson() : null,
    "update_user_privacy_setting_rules": (update_user_privacy_setting_rules != null) ? update_user_privacy_setting_rules.toJson() : null,
    "update_unread_message_count": (update_unread_message_count != null) ? update_unread_message_count.toJson() : null,
    "update_unread_chat_count": (update_unread_chat_count != null) ? update_unread_chat_count.toJson() : null,
    "update_story": (update_story != null) ? update_story.toJson() : null,
    "update_story_deleted": (update_story_deleted != null) ? update_story_deleted.toJson() : null,
    "update_story_send_succeeded": (update_story_send_succeeded != null) ? update_story_send_succeeded.toJson() : null,
    "update_story_send_failed": (update_story_send_failed != null) ? update_story_send_failed.toJson() : null,
    "update_chat_active_stories": (update_chat_active_stories != null) ? update_chat_active_stories.toJson() : null,
    "update_story_list_chat_count": (update_story_list_chat_count != null) ? update_story_list_chat_count.toJson() : null,
    "update_story_stealth_mode": (update_story_stealth_mode != null) ? update_story_stealth_mode.toJson() : null,
    "update_option": (update_option != null) ? update_option.toJson() : null,
    "update_sticker_set": (update_sticker_set != null) ? update_sticker_set.toJson() : null,
    "update_installed_sticker_sets": (update_installed_sticker_sets != null) ? update_installed_sticker_sets.toJson() : null,
    "update_trending_sticker_sets": (update_trending_sticker_sets != null) ? update_trending_sticker_sets.toJson() : null,
    "update_recent_stickers": (update_recent_stickers != null) ? update_recent_stickers.toJson() : null,
    "update_favorite_stickers": (update_favorite_stickers != null) ? update_favorite_stickers.toJson() : null,
    "update_saved_animations": (update_saved_animations != null) ? update_saved_animations.toJson() : null,
    "update_saved_notification_sounds": (update_saved_notification_sounds != null) ? update_saved_notification_sounds.toJson() : null,
    "update_default_background": (update_default_background != null) ? update_default_background.toJson() : null,
    "update_chat_themes": (update_chat_themes != null) ? update_chat_themes.toJson() : null,
    "update_accent_colors": (update_accent_colors != null) ? update_accent_colors.toJson() : null,
    "update_profile_accent_colors": (update_profile_accent_colors != null) ? update_profile_accent_colors.toJson() : null,
    "update_language_pack_strings": (update_language_pack_strings != null) ? update_language_pack_strings.toJson() : null,
    "update_connection_state": (update_connection_state != null) ? update_connection_state.toJson() : null,
    "update_terms_of_service": (update_terms_of_service != null) ? update_terms_of_service.toJson() : null,
    "update_unconfirmed_session": (update_unconfirmed_session != null) ? update_unconfirmed_session.toJson() : null,
    "update_attachment_menu_bots": (update_attachment_menu_bots != null) ? update_attachment_menu_bots.toJson() : null,
    "update_web_app_message_sent": (update_web_app_message_sent != null) ? update_web_app_message_sent.toJson() : null,
    "update_active_emoji_reactions": (update_active_emoji_reactions != null) ? update_active_emoji_reactions.toJson() : null,
    "update_available_message_effects": (update_available_message_effects != null) ? update_available_message_effects.toJson() : null,
    "update_default_reaction_type": (update_default_reaction_type != null) ? update_default_reaction_type.toJson() : null,
    "update_default_paid_reaction_type": (update_default_paid_reaction_type != null) ? update_default_paid_reaction_type.toJson() : null,
    "update_saved_messages_tags": (update_saved_messages_tags != null) ? update_saved_messages_tags.toJson() : null,
    "update_active_live_location_messages": (update_active_live_location_messages != null) ? update_active_live_location_messages.toJson() : null,
    "update_owned_star_count": (update_owned_star_count != null) ? update_owned_star_count.toJson() : null,
    "update_chat_revenue_amount": (update_chat_revenue_amount != null) ? update_chat_revenue_amount.toJson() : null,
    "update_star_revenue_status": (update_star_revenue_status != null) ? update_star_revenue_status.toJson() : null,
    "update_speech_recognition_trial": (update_speech_recognition_trial != null) ? update_speech_recognition_trial.toJson() : null,
    "update_dice_emojis": (update_dice_emojis != null) ? update_dice_emojis.toJson() : null,
    "update_animated_emoji_message_clicked": (update_animated_emoji_message_clicked != null) ? update_animated_emoji_message_clicked.toJson() : null,
    "update_animation_search_parameters": (update_animation_search_parameters != null) ? update_animation_search_parameters.toJson() : null,
    "update_suggested_actions": (update_suggested_actions != null) ? update_suggested_actions.toJson() : null,
    "update_speed_limit_notification": (update_speed_limit_notification != null) ? update_speed_limit_notification.toJson() : null,
    "update_contact_close_birthdays": (update_contact_close_birthdays != null) ? update_contact_close_birthdays.toJson() : null,
    "update_autosave_settings": (update_autosave_settings != null) ? update_autosave_settings.toJson() : null,
    "update_business_connection": (update_business_connection != null) ? update_business_connection.toJson() : null,
    "update_new_business_message": (update_new_business_message != null) ? update_new_business_message.toJson() : null,
    "update_business_message_edited": (update_business_message_edited != null) ? update_business_message_edited.toJson() : null,
    "update_business_messages_deleted": (update_business_messages_deleted != null) ? update_business_messages_deleted.toJson() : null,
    "update_new_inline_query": (update_new_inline_query != null) ? update_new_inline_query.toJson() : null,
    "update_new_chosen_inline_result": (update_new_chosen_inline_result != null) ? update_new_chosen_inline_result.toJson() : null,
    "update_new_callback_query": (update_new_callback_query != null) ? update_new_callback_query.toJson() : null,
    "update_new_inline_callback_query": (update_new_inline_callback_query != null) ? update_new_inline_callback_query.toJson() : null,
    "update_new_business_callback_query": (update_new_business_callback_query != null) ? update_new_business_callback_query.toJson() : null,
    "update_new_shipping_query": (update_new_shipping_query != null) ? update_new_shipping_query.toJson() : null,
    "update_new_pre_checkout_query": (update_new_pre_checkout_query != null) ? update_new_pre_checkout_query.toJson() : null,
    "update_new_custom_event": (update_new_custom_event != null) ? update_new_custom_event.toJson() : null,
    "update_new_custom_query": (update_new_custom_query != null) ? update_new_custom_query.toJson() : null,
    "update_poll": (update_poll != null) ? update_poll.toJson() : null,
    "update_poll_answer": (update_poll_answer != null) ? update_poll_answer.toJson() : null,
    "update_chat_member": (update_chat_member != null) ? update_chat_member.toJson() : null,
    "update_new_chat_join_request": (update_new_chat_join_request != null) ? update_new_chat_join_request.toJson() : null,
    "update_chat_boost": (update_chat_boost != null) ? update_chat_boost.toJson() : null,
    "update_message_reaction": (update_message_reaction != null) ? update_message_reaction.toJson() : null,
    "update_message_reactions": (update_message_reactions != null) ? update_message_reactions.toJson() : null,
    "update_paid_media_purchased": (update_paid_media_purchased != null) ? update_paid_media_purchased.toJson() : null,
    "updates": (updates != null) ? updates.toJson() : null,
  };

  update_data_create_json.removeWhere((key, value) => value == null);

  if (schemeUtilsIsSetDefaultData) {
    defaultData.forEach((key, value) {
      if (update_data_create_json.containsKey(key) == false) {
        update_data_create_json[key] = value;
      }
    });
  }
  return Update(update_data_create_json);
}