I actually i am creating custom endpoint where we providing edit option to user to edit his message so for that purpose i want to update slotvalue in rasa in custom channel how can i achive this

I actually i am creating custom endpoint where we providing edit option to user to edit his message so for that purpose i want to update slotvalue in rasa