Forum Discussion
lapaz17
Aug 10, 2021Copper Contributor
Hooking event / Adding event listener
Hello, I want to add event listener for compose message area. I would like to be able to call my callback function whenever user pastes sth into it. I could not find it in API's. Is there sth for it?...
ChetanSharma-msft
Microsoft
Aug 11, 2021We are checking on it & get back to you soon.
- ChetanSharma-msftAug 12, 2021
Microsoft
@lapaz - Currently you get event/callback when your app has link unfurl implemented for "compose message area".
Reference URL: https://docs.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/how-to/link-unfurling?tabs=dotnet
Could you please provide more information if you are not satisfied from above solution.- lapaz17Aug 12, 2021Copper ContributorI want to show a modal popup when user pastes screenshot into the text area. link unfurl cannot help me with this scenario.
- ChetanSharma-msftAug 13, 2021
Microsoft
Lapaz17 - This kind of event listener feature is not supported as of now.
You can raise your voice over here:
https://microsoftteams.uservoice.com/forums/555103-public/filters/new