Source code for mattermostautodriver.endpoints.playbookautofollows

from .base import Base


[docs]class PlaybookAutofollows(Base):
[docs] def get_auto_follows(self, id): """Get the list of followers' user IDs of a playbook id: ID of the playbook to retrieve followers from. `Read in Mattermost API docs (PlaybookAutofollows - getAutoFollows) <https://api.mattermost.com/#tag/PlaybookAutofollows/operation/getAutoFollows>`_ """ return self.client.get(f"/plugins/playbooks/api/v0/playbooks/{id}/autofollows")