rocketchat.calls.groups package¶
Submodules¶
rocketchat.calls.groups.get_private_room_history module¶
-
class
rocketchat.calls.groups.get_private_room_history.GetPrivateRoomHistory(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/groups.history'¶
-
post_response(result)¶
-
rocketchat.calls.groups.get_private_room_info module¶
-
class
rocketchat.calls.groups.get_private_room_info.GetPrivateRoomInfo(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/groups.info'¶
-
post_response(result)¶
-
rocketchat.calls.groups.get_private_rooms module¶
-
class
rocketchat.calls.groups.get_private_rooms.GetPrivateRooms(settings=None, *args, **kwargs)¶ Bases:
rocketchat.calls.base.RocketChatBase-
build_endpoint()¶ Build the endpoint for the user given some kwargs from the initial calling.
Returns:
-
endpoint= '/api/v1/groups.list'¶
-
post_response(result)¶
-
rocketchat.calls.groups.get_room_id module¶
-
class
rocketchat.calls.groups.get_room_id.GetRoomId(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/groups.info'¶
-
post_response(result)¶
-
rocketchat.calls.groups.upload_file module¶
-
class
rocketchat.calls.groups.upload_file.UploadFile(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_files(**kwargs)¶ Build files :param kwargs: :return:
-
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/rooms.upload'¶
-
post_response(result)¶
-