Don't have Telegram yet? Try it now!
http://archie.tw/2019/01/23/coredata-with-background-task/
CoreData with background task