I developed a chat bot based on MS Botframework, but it seems that I have to create a rest server for it. but I prefer to deploy it as a serverless service, such as Amazon lambda, How can I achieve this? any suggestions?
I don't see how you could publish a bot as an AWS lambda, but Azure has the Azure Bot Service which is similar:
@titiwon in the comments has provided a link to Deploy Microsoft Bot framework to AWS Lambda