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

Reading previously sent messages #504

Open
lstach opened this issue Mar 21, 2024 · 1 comment
Open

Reading previously sent messages #504

lstach opened this issue Mar 21, 2024 · 1 comment

Comments

@lstach
Copy link

lstach commented Mar 21, 2024

Hi all. I've configured my Mattermost bot to read messages when a user in a channel the bot is in sends them. What I am hoping to do is effectively "scrape" a channel to read previous messages that have been sent, rather than just read 1 message at a time as they are sent.

Is there a function in the Mattermost bot that would allow me to do this?

@lstach lstach changed the title Reading blank messages Reading previously sent messages Mar 21, 2024
@unode
Copy link
Collaborator

unode commented Mar 21, 2024

Possibly driver.posts.get_posts_for_channel or one of the other ones in the posts API.

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

No branches or pull requests

2 participants