copyWith method

  1. @override
TargetChatChosen copyWith({
  1. bool? allowUserChats,
  2. bool? allowBotChats,
  3. bool? allowGroupChats,
  4. bool? allowChannelChats,
})
override

Implementation

@override
TargetChatChosen copyWith({
  bool? allowUserChats,
  bool? allowBotChats,
  bool? allowGroupChats,
  bool? allowChannelChats,
}) =>
    TargetChatChosen(
      allowUserChats: allowUserChats ?? this.allowUserChats,
      allowBotChats: allowBotChats ?? this.allowBotChats,
      allowGroupChats: allowGroupChats ?? this.allowGroupChats,
      allowChannelChats: allowChannelChats ?? this.allowChannelChats,
    );