def send_completion_message(*, session_code, participant_code): group_name = channel_utils.browser_bots_launcher_group(session_code) channel_utils.sync_group_send_wrapper( group=group_name, type='send_completion_message', event={'text': participant_code}, )
def send_completion_message(*, session_code, participant_code): group_name = channel_utils.browser_bots_launcher_group(session_code) # don't need to put in JSON since it's just a participant code channels.Group(group_name).send({'text': participant_code})
def group_name(self, session_code): return channel_utils.browser_bots_launcher_group(session_code)