This PR adds the blocks field as a top level field for the MessageEvent data model. This matches the actual data model in the raw JSON string. Below is a real event that slack sends via the Event API. I did not remove the existing blocks field under attachments in case I'm not aware of the cases when blocks indeed falls under attachments.
This PR adds the
blocks
field as a top level field for theMessageEvent
data model. This matches the actual data model in the raw JSON string. Below is a real event that slack sends via the Event API. I did not remove the existingblocks
field underattachments
in case I'm not aware of the cases when blocks indeed falls under attachments.