copyWith method

SendWebAppData copyWith({
  1. int? botUserId,
  2. String? buttonText,
  3. String? data,
})

Implementation

SendWebAppData copyWith({int? botUserId, String? buttonText, String? data}) =>
    SendWebAppData(
      botUserId: botUserId ?? this.botUserId,
      buttonText: buttonText ?? this.buttonText,
      data: data ?? this.data,
    );