rocketchat.calls.users package

Submodules

rocketchat.calls.users.create_user module

class rocketchat.calls.users.create_user.CreateUser(settings=None, *args, **kwargs)

Bases: rocketchat.calls.base.PostMixin, rocketchat.calls.base.RocketChatBase

build_endpoint(**kwargs)

Build the endpoint for the user given some kwargs from the initial calling.

Returns:
build_payload(**kwargs)

Build a payload dict that will be passed directly to the endpoint. If you need to pass this as plain text or whatever you’ll need to the dumping here.

Returns:
endpoint = '/api/v1/users.create'
post_response(result)

rocketchat.calls.users.delete_user module

class rocketchat.calls.users.delete_user.DeleteUser(settings=None, *args, **kwargs)

Bases: rocketchat.calls.base.PostMixin, rocketchat.calls.base.RocketChatBase

build_endpoint(**kwargs)

Build the endpoint for the user given some kwargs from the initial calling.

Returns:
build_payload(**kwargs)

Build a payload dict that will be passed directly to the endpoint. If you need to pass this as plain text or whatever you’ll need to the dumping here.

Returns:
endpoint = '/api/v1/users.delete'
post_response(result)

rocketchat.calls.users.get_user_info module

class rocketchat.calls.users.get_user_info.GetUserInfo(settings=None, *args, **kwargs)

Bases: rocketchat.calls.base.RocketChatBase

build_endpoint(**kwargs)

Build the endpoint for the user given some kwargs from the initial calling.

Returns:
endpoint = '/api/v1/users.info'
post_response(result)

rocketchat.calls.users.get_users module

class rocketchat.calls.users.get_users.GetUsers(settings=None, *args, **kwargs)

Bases: rocketchat.calls.base.RocketChatBase

build_endpoint(**kwargs)

Build the endpoint for the user given some kwargs from the initial calling.

Returns:
endpoint = '/api/v1/users.list'
post_response(result)

Module contents