copyWith method
Implementation
MessageSendOptions copyWith({
bool? disableNotification,
bool? fromBackground,
bool? protectContent,
bool? updateOrderOfInstalledStickerSets,
MessageSchedulingState? schedulingState,
int? sendingId,
}) =>
MessageSendOptions(
disableNotification: disableNotification ?? this.disableNotification,
fromBackground: fromBackground ?? this.fromBackground,
protectContent: protectContent ?? this.protectContent,
updateOrderOfInstalledStickerSets: updateOrderOfInstalledStickerSets ??
this.updateOrderOfInstalledStickerSets,
schedulingState: schedulingState ?? this.schedulingState,
sendingId: sendingId ?? this.sendingId,
);