copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
DeleteEphemeralMessage copyWith({
int? chatId,
int? receiverUserId,
int? ephemeralMessageId,
}) => DeleteEphemeralMessage(
chatId: chatId ?? this.chatId,
receiverUserId: receiverUserId ?? this.receiverUserId,
ephemeralMessageId: ephemeralMessageId ?? this.ephemeralMessageId,
);