how make an APN message

I like to compose an APN message. (using FCM) what shall I do for it?