copyWith method
EditBotMediaPreview
copyWith({
- int? botUserId,
- String? languageCode,
- int? fileId,
- 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,
);