So I wanna know how i can include a ChatBot in my swift program.
This would definitely be my first ChatBot so please explain elaborately.
Develop a chat boot it's not as easy as it seems.
Have you consider develop a Message extension? Using your app in a "chat" environment should help users to interact with your bot in a natural way.
You can use Machine Learning to adjust your bot responses to each individual user in their own devices (If it's not a server based bot)
The data that your bot needs will be specified by your project, so you will have to do a good research about users needs
I'm sure that this O'Reilly book will hell you as well as this Smashing Maganize article.