We need some guidance with the Live Agent REST API Chat Invitation. We scoured the REST API documentation but found nothing to guide us with implementing the chat invitation (Only info for Deployment API). There is clearly some button properties that are used for the chat invitation listed in V.39 of the Live Agent REST developer guide https://developer.salesforce.com/docs/atlas.en-us.206.0.live_agent_rest.meta/live_agent_rest/live_agent_rest_data_types.htm
But we would like some code samples or guidance on how to use these to create a automated invitation. Can someone provide us code samples or written outline of the approach to use REST API to create a chat invitation?
Thank you so much.