Configuration¶
-
class
freshchat.client.configuration.
FreshChatConfiguration
(app_id: str, token: str, default_channel_id: Optional[str] = None, default_initial_message: Optional[str] = None, url: Optional[str] = <factory>)¶ Class represents the base configuration for Freshchat
Property which returns the proper format of the authorization header
-
get_url
(endpoint: str) → str¶ Method responsible to build the url using the given endpoint
Parameters: endpoint – String with the endpoint which needs to attached to URL Returns: a string which represents URL