Skip to content

[IMPROVE] Extend Livechat API #13583

@renatobecker-zz

Description

@renatobecker-zz

Extend the Livechat Realtime API, supporting new methods and events, such as:

  • Allow changing the widget language( PR #214)
  • Allow hiding/showing the widget
  • On widget show event
  • On widget hide event
  • setCustomTexts
  • Goes online/offline mode according to agents availability(Real-time) - it needs to consider office hours as well
  • On agents available event
  • On agents unavailable event
  • assign agent
  • Unassign agent
  • On agent(assigned to the chat) status change
  • On agent data change(In addition, we need to reload the agent avatar if it has been changed)
  • Allow minimizing/maximizing the widget
  • Create init API method, allowing to pass a config object containing a set of configurations, such as overriding default messages, listen to callbacks and so on.

Sponsored:

  • Create a method to set mode=popout(url parameter). This method will make easier the implementation in webviews.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions