copyWith method

AddBotMediaPreview copyWith({
  1. int? botUserId,
  2. String? languageCode,
  3. InputStoryContent? content,
})

Implementation

AddBotMediaPreview copyWith({
  int? botUserId,
  String? languageCode,
  InputStoryContent? content,
}) => AddBotMediaPreview(
  botUserId: botUserId ?? this.botUserId,
  languageCode: languageCode ?? this.languageCode,
  content: content ?? this.content,
);