跳到主要内容

Deskpro UI

在 Apps 中
作者列表
已发布: 2022年12月14日|最后更新: 2022年12月14日

Your app may require that the Deskpro UI be updated in some way following a particular action or event, e.g. you may want to send some content or a link to the reply box of a ticket. To do this, we send a UI event to Deskpro so that a particular aspect of Deskpro's UI can be updated. For example:

useInitialisedDeskproAppClient((client) => { // Append a link to the content of the "active" reply box editor client.deskpro().appendLinkToActiveTicketReplyBox( "https://example.com/", "Example Link" ); });
copy

We currently support the following UI updates:

  • appendLinkToActiveTicketReplyBox() - Append a hyperlink to the content in the "active" reply box

  • appendContentToActiveTicketReplyBox() - Append text to the content in the "active" reply box

有帮助没有帮助
下一个页面Blocking Mode
上一个页面App Elements

请登录或注册以提交评论。