I have a slack bot with a bot token and I want to use it to look for a previous message it has sent.
I originally tried to do something like
res = sc.api_call(
"conversations.history",
channel = channel_id,
limit = 100,
oldest = time.time() - 60*60*24
)
and then my plan was to search through that, but I need the channels:history
scope, and I don't want to use the oauth flow for this.
Is there a way to do this?