copyWith method
Implementation
PinChatMessage copyWith({
int? chatId,
int? messageId,
bool? disableNotification,
bool? onlyForSelf,
}) =>
PinChatMessage(
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
disableNotification: disableNotification ?? this.disableNotification,
onlyForSelf: onlyForSelf ?? this.onlyForSelf,
);