0xArch3r

Results 7 comments of 0xArch3r

``` func newMessageEvent(slacker *Slacker, evt interface{}, req *socketmode.Request) *MessageEvent { var me *MessageEvent switch ev := evt.(type) { case *slackevents.MessageEvent: me = &MessageEvent{ Channel: ev.Channel, ChannelName: getChannelName(slacker, ev.Channel), User: ev.User,...

I was able to work around this by changing the definition of MessageEvent to the following: `type MessageEvent struct { // Channel ID where the message was sent Channel string...

> I think a new Gin instance has been New and should be set up around it like this: > > ``` > package main > > import ( >...

> > > I think a new Gin instance has been New and should be set up around it like this: > > > ``` > > > package main...

this file input block is currently in this repo, i used it recently. https://github.com/slack-go/slack/blob/d2493facbd56df23ea8d633fe1bf9c4c4c80d77f/block_element.go#L650

This event request is also needed if you want to use the external api feature to populate like the dropdown searches etc.