copyWith method

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

Implementation

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