copyWith method

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

Implementation

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