rocketchat.calls.channels package

Submodules

rocketchat.calls.channels.create_public_room module

class rocketchat.calls.channels.create_public_room.CreatePublicRoom(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/channels.create'
post_response(result)

rocketchat.calls.channels.delete_public_room module

class rocketchat.calls.channels.delete_public_room.DeletePublicRoom(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/channels.delete'
post_response(result)

rocketchat.calls.channels.get_history module

class rocketchat.calls.channels.get_history.GetRoomHistory(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/channels.history'
post_response(result)

rocketchat.calls.channels.get_public_rooms module

class rocketchat.calls.channels.get_public_rooms.GetPublicRooms(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/channels.list'
post_response(result)

rocketchat.calls.channels.get_room_info module

class rocketchat.calls.channels.get_room_info.GetRoomInfo(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/channels.info'
post_response(result)

Module contents