How do I get the name of the Microsoft Teams "General" channel if it's been named something else? #433
Unanswered
jamesc-skyward
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When iterating through all the channels in a team, the value for ChannelInfo.Name returns null for the "General" or default channel. Apparently, this is expected behavior. I used to be able to assume that whenever this was null, the channel was named "General". Today, that's no longer a safe assumption. At some point the ability to re-name the "General" channel was introduced. Through code, how can I get the name of that channel?
Beta Was this translation helpful? Give feedback.
All reactions