You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will soon accessible directly from the MessageEvent struct once #100 is merged in, but for now you should be able to get it with something like this:
chan, _ := ctx.client.GetConversationInfo(ctx.Event().Channel)
// chan.Name should contain the name of the channel / dm you're in
How can get a channel name (#genenal like ) when received event? right now seems only channel id can read from even.
The text was updated successfully, but these errors were encountered: