# \[Slack\]: After clicking change button to text

**URL:** <https://forum.rasa.com/t/slack-after-clicking-change-button-to-text/33957>\
**Category:** Rasa Open Source\
**Created:** [September 20, 2020, 5:01am UTC](https://forum.rasa.com/t/slack-after-clicking-change-button-to-text/33957 "2020-09-20T05:01:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_adityaK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/_adityak/32/10899_2.png) [@\_adityaK](https://forum.rasa.com/u/_adityaK)\
**Post date:** [September 20, 2020, 5:01am UTC](https://forum.rasa.com/t/slack-after-clicking-change-button-to-text/33957/1 "2020-09-20T05:01:24Z")

</div>

Hey All,

I was wondering if someone know how to change the button when once click to text. For ex:

What is your gender:

button1: “Male”

button2:“Female”

if someone clicks on Male, you get the message, change the original message by removing buttons and putting text for original Male button as ‘✅ Male’…

If someone can help, it would be really great.

> **[chat.update API method](https://api.slack.com/methods/chat.update)**
>
> Updates a message.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [September 24, 2020, 6:19pm UTC](https://forum.rasa.com/t/slack-after-clicking-change-button-to-text/33957/2 "2020-09-24T18:19:41Z")

</div>

Hi Aditya,

The current slack channel doesn’t support the chat.update method. You can view the code [here](https://github.com/RasaHQ/rasa/blob/master/rasa/core/channels/slack.py). Support for the [chat\_update](https://github.com/slackapi/python-slackclient/blob/7a045607fde73d252e9e74a1b2f397b88a7d50af/tutorial/PythOnBoardingBot/app.py#L67) call would be a nice enhancement. Would you consider adding this feature?

Greg

---

<div class="post-metadata">

**Author:** ![\_adityaK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/_adityak/32/10899_2.png) [@\_adityaK](https://forum.rasa.com/u/_adityaK)\
**Post date:** [September 27, 2020, 11:19pm UTC](https://forum.rasa.com/t/slack-after-clicking-change-button-to-text/33957/3 "2020-09-27T23:19:16Z")

</div>

Would love to. Once I have it working, I will create a PR upstream. 🙂
