Forum Discussion
Create Channel Dynamically if any message gets in to Channel
NadirRiyani umm, why?
Yes the graph api could read messages, and could create channels, maybe write an Azure Function.
StevenC365 , Please take a look at Create Channel using Graph API
- NadirRiyaniApr 15, 2020Brass Contributor
Trinetra-MSFT Thank you for your response.
Yes, I knew the Graph API is the option. Here two questions on it.
1) Is it possible to create Channel without Authentication (i.e. AAD Token - using single Signon OR AAD Username/Password)?
2) Which event do you suggest in Bot framework which executes when any Message gets Into the channel?
- Trinetra-MSFTApr 16, 2020Former Employee
1. Creating a channel using Graph API requires Group.ReadWrite.All permissions consented by admin, If your access_token have these permission, i think you are good to call this API.
2. Whenever a new message or post arrives in a channel, You can go with the change notification API, which are useful to read chatMessages in channel but for that You need to subscribe to the channel. and need some more permissions to work with these API.