Responses

class freshchat.client.responses.FreshChatResponse(response: <sphinx.ext.autodoc.importer._MockObject object at 0x7f1358a7aa20>, 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 0x7f1358a7aa20>) → freshchat.client.responses.FreshChatResponse

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