Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach matrix eventId and roomId to slack event #8

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Conversation

psrpinto
Copy link
Member

@psrpinto psrpinto commented Jul 12, 2023

When calling slack's history API, it requires setting include_all_metadata=true for it to return the event_payload, i.e. https://foo.slack.com/api/conversations.history?include_all_metadata=true.

Note id and room_id are URL-encoded.

Screenshot 2023-07-12 at 17 40 31

@psrpinto psrpinto self-assigned this Jul 12, 2023
@psrpinto psrpinto requested review from akirk and ashfame July 12, 2023 16:44
@psrpinto psrpinto marked this pull request as ready for review July 12, 2023 16:44
Copy link
Member

@ashfame ashfame left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@psrpinto psrpinto merged commit 31ce854 into develop Jul 12, 2023
@psrpinto psrpinto deleted the metadata branch July 12, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants