Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2021-03-22 14:40:40

philip49
New member
Registered: 2021-01-18
Posts: 9

setting lhc.nick with information coming from API

I'm doing some testing with API and I can set custom attributes with the information coming out of a API call, but how can I set for instance lhc.nick?

I do the following:
Update the Current Chat
Set chat attribute [visible by operator]
[{"value":"{content_1}","identifier":"givenname","key":"Givenname"}] (this works)

But I want to put Givenname in lhc.nick
So e.g. (but this doesn't work)

[{"value":"{content_1}","identifier":"givenname","key":"lhc.nick"}]


I don't think it is difficult, but I can't find the answer in de documentation.

Thanks for the great product.

Philip

Offline

#2 2021-03-22 15:28:19

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: setting lhc.nick with information coming from API

https://doc.livehelperchat.com/docs/bot … -attribute

It would be just a `nick` in update main chat attribute call.

Offline

#3 2021-03-23 08:20:41

philip49
New member
Registered: 2021-01-18
Posts: 9

Re: setting lhc.nick with information coming from API

Thanks,
it works with nick and {content_1} as Chat attribute value.

Offline

Board footer