fbradyirl / webex_bot

Python package for a Webex Bot based on websockets.
MIT License
68 stars 44 forks source link

Help get user info within command function.. #37

Closed muralidb24 closed 1 year ago

muralidb24 commented 1 year ago

Description

Hello- I am trying to build a simple BOT that would relay questions from a Webex (person) room, post the question in a group space with subject-matter-experts (SMEs) and then relay the answer back to the originating space (user).

Not knowing if such a bot already exists, I started building one, and am basing it off the Webex-bot.

Thanks to the authors, this makes the bot building so simple!

I am now able to post a question and have it relayed on the SME team space!

I am now trying to relay the response, from the SME team, back to the originator.

Any tips (or example) on how to extract the originating room (and/or user email), from the callback?

What I Did

**pyton bot.py**
If there was a crash, please include the traceback here. N/A
muralidb24 commented 1 year ago

All set. Was a able to grab the email field from the attachment_actions.

Thanks!