Closed combi-35 closed 5 months ago
Hi @combi-35, thanks for writing in. The whole request body data is represented here: https://github.com/seratch/slack-edge/blob/0.10.5/src/request/request-body.ts As for the "event" property for message events, the union type is defined at: https://github.com/seratch/slack-edge/blob/0.10.5/src/request/payload/event.ts#L1247-L1264
The response-body type does not have all the possible properties yet. Adding missing ones can be improved in future releases. Does this make sense?
Since this issue is inactive for a while, let me close this now.
Hi, I'm really confused about how to use types with this package. For example if I look at the payload I receive when sending a message into a channel:
But I am not able to find a type which matches this payload with this package?
Thanks!