How to build chat\messaging template

Hi all. Can some help me with how to build next template.

I need to create template (html) for messages\chat etc. like iOS Message app. at the bottom of screen input for message and message timeline above this input. I have found some solutions in google. But they all use ion-footer-bar with custom css for place where we have our input… But int`s not my case, i need gave ion-footer-bar for some buttons… and need have input for text message under this bar. And input need be fixed at bottom .

Sorry for my bad english. And i hope for ours help