Source code for mattermostdriver.endpoints.status

from .base import Base


[docs]class Status(Base):
[docs] def get_user_status(self, user_id): return self.client.get( '/users/' + user_id + '/status' )
[docs] def update_user_status(self, user_id, options=None): return self.client.put( '/users/' + user_id + '/status', options=options )
[docs] def get_user_statuses_by_id(self, options=None): return self.client.post( '/users/status/ids', options )