I am trying to get the notification details such as message or image or something when then app is on background and it to the persistentContainer.I am getting `Use of unresolved identifier` when using `Message` method.How can I fix this???

```
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
        let text=userInfo["text"] as! String
        let image=userInfo["image"] as! String
        guard let url=URL(string: image) else
         {
            completionHandler(.noData)
            return
         }
        let persistentContainer=NSPersistentContainer(name: "PushMe")
        let context=persistentContainer.viewContext
        context.perform
            {
                do
                {
                    let message=Message(context:context)

                }
                catch{

                }

             }
    }

```

Please help me.Thanks in advance.