Get Feature Image Url

I am doing wordpress plugin development for firebase notification and i fork a repo from github, link here :

Now i want add here also some thing like Features image. so whenever new post added it automatically send title, postid and url of features images.

Please tell me how i fetch feature image url