twilio / twilio-java

A Java library for communicating with the Twilio REST API and generating TwiML.
MIT License
492 stars 429 forks source link

setAttributes ignored creating a Conversation Participant #607

Closed jlrpuma closed 3 years ago

jlrpuma commented 3 years ago

Issue Summary

I'm adding participants to a conversation, the participants are added to the conversation but the attributes that I passed to them are completely ignored.

Attributes String example: {"id":1,"username":"xxxxx","firstName":"xxxx","secondName":null,"firstLastName":"xxxxx","secondLastName":null}

Steps to Reproduce

Code Snippet

Participant participant = Participant.creator(conversationSid)
                .setIdentity(identity)
                .setAttributes(attributes).create();

Technical details: