copyWith method

  1. @override
InlineKeyboardButtonTypeSwitchInline copyWith({
  1. String? query,
  2. bool? inCurrentChat,
})
override

Implementation

@override
InlineKeyboardButtonTypeSwitchInline copyWith({
  String? query,
  bool? inCurrentChat,
}) => InlineKeyboardButtonTypeSwitchInline(
  query: query ?? this.query,
  inCurrentChat: inCurrentChat ?? this.inCurrentChat,
);