Mobile SDK Implementation

We are referring this doc for Mobile SDK Implementation

In this doc we have setAuthenticationToken parameter. Can we ask client to pass API authtoken into that parameter, which is enable for 30sec in case of inactivity of user Or client should pass into payloads? If they are passing into setAuthenticationToken parameter then how bot will get this token?Please let us know about this scnerio.

1 Like

@Aishwarya.Gandhi

I’m not sure I understand, can you rephrase your question?

My understanding is that by default you’ll pass a specific authToken as a param into the setAuthenticationToken — this will open up the widget with the history unique to a specific user.

Not sure where inactivity comes into picture here

1 Like

@Aishwarya.Gandhi

setAuthenticationToken is used to associate the identity of the user with the chatbot.

Whenever the chatbot is launched with authenticationToken it will load the previous chats associated with the user.
Please refer to this doc.