How to make push notif like a line apps

Hi guys, i want to ask how to make push notif like a line apps or dialog box ?
there are already tried ?

sorry my english bad.
thanks