1.How to add custom object field on prechat form using lightning component in Snap-Ins? We have business requirement to add account object fields on prechat form using lightning component in Snap-Ins.How this can be achieved? And also the language of the form should get changed according to the language of the user.
2.Can we implement multiple chat buttons in snap-ins? there is requirement of handling multiple chat buttons in snap-ins according to user's langauge.Chat should get redirected to the specific skills.
3. what are different API's Available in Snap-ins? For example in live agent, we can use:
input type='text' name='liveagent.prechat:UserEmail' id='email'
input type="hidden" name="liveagent.prechat.findorcreate.map:Account" value="Email,UserEmail"
So in Snap-ins how this can be achieved?
4.How we can apply localization to prechat form lightning component in snap-ins? We have business requirement to display prechat form according to the langauge of User.How we can implement snap-ins for different languages (including for standard and custom field)?