setSessionAttributes

open fun setSessionAttributes(@NotNull sessionAttributes: @NotNull Map<String, String>): Boolean

Adds session attributes to the next chat or conversation sent via the Beacon SDK.

Return

true if the attributes were added successfully; false if the limit of 20 attributes per session was exceeded.

Parameters

sessionAttributes

A map of session attributes. There is a limit of 20 attributesper session. Keys must be less than 100 characters, and values less than 10,000 characters. Any entries exceeding these limits will be ignored.