How can I get usernames of messages from botframework?

Hello, I have integrated the chatbot into microsoft teams. I want to see the username / name_surname information of the users in rasa_x or rasa.db. How can I access this information? Now I only see the sender_id information, but it is not enough for me.

The channel would need to forward this information. Typically, this would be passed as metadata. I haven’t worked with this channel before but looking at the code, I don’t see this information included in the metadata. You could confirm this using a action_session_start and the getting the action_session_metadata slot as shown here.

Most likely, you’ll need to add this feature to the channel and confirm that it’s available from the MS Botframework.

1 Like