Responses

class freshchat.client.responses.FreshChatResponse(response: <sphinx.ext.autodoc.importer._MockObject object at 0x7f93d89c7b00>, body: Union[str, Dict[AnyStr, Any]] = None)

Class represent http response

body

Property returns FreshChatResponseBody which can be either a String or a Dictionary

http

Property returns aiohttp.ClientResponse

classmethod load(response: <sphinx.ext.autodoc.importer._MockObject object at 0x7f93d89c7b00>) → freshchat.client.responses.FreshChatResponse

Class method creates and returns an instance of the class given an aiohttp.ClientResponse