rocketchat package

Submodules

rocketchat.api module

class rocketchat.api.RocketChatAPI(settings=None, *args, **kwargs)

Bases: object

get_my_info(**kwargs)
get_private_room_history(room_id, oldest=None, **kwargs)

Get various history of specific private group in this case private

Parameters:
  • room_id
  • kwargs
Returns:

get_private_room_info(room_id, **kwargs)

Get various information about a specific private group

Parameters:
  • room_id
  • kwargs
Returns:

get_private_rooms(**kwargs)

Get a listing of all private rooms with their names and IDs

get_public_rooms(**kwargs)

Get a listing of all public rooms with their names and IDs

get_room_history(room_id, oldest=None, latest=datetime.datetime(2017, 7, 24, 14, 5, 29, 946125), inclusive=False, count=20, unreads=False, **kwargs)

Get various history of specific channel/room

Parameters:
  • room_id
  • kwargs
Returns:

get_room_info(room_id, **kwargs)

Get various information about a specific channel/room

Parameters:
  • room_id
  • kwargs
Returns:

send_message(message, room_id, **kwargs)

Send a message to a given room

settings = None

Module contents