copyWith method
MessageForwardInfo
copyWith({
- MessageForwardOrigin? origin,
- int? date,
- String? publicServiceAnnouncementType,
- int? fromChatId,
- int? fromMessageId,
Implementation
MessageForwardInfo copyWith({
MessageForwardOrigin? origin,
int? date,
String? publicServiceAnnouncementType,
int? fromChatId,
int? fromMessageId,
}) => MessageForwardInfo(
origin: origin ?? this.origin,
date: date ?? this.date,
publicServiceAnnouncementType: publicServiceAnnouncementType ?? this.publicServiceAnnouncementType,
fromChatId: fromChatId ?? this.fromChatId,
fromMessageId: fromMessageId ?? this.fromMessageId,
);