async def send_activities(self, context: TurnContext, activities: List[Activity]):
if context is None:<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>if type(activities) != list:<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>if len(activities) == <NUM_LIT:0>:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>async def next_activity(i: int):<EOL><INDENT>responses = []<EOL>if i < len(activities):<EOL><INDENT>responses.append(ResourceResponse())<EOL>a = activities[i]<EOL>if a.type == '<STR_LIT>':<EOL><INDENT>await asyncio.sleep(a.delay)<EOL>await next_activity(i + <NUM_LIT:1>)<EOL><DEDENT>elif a.type == ActivityTypes.message:<EOL><INDENT>if a.attachments is not None and len(a.attachments) > <NUM_LIT:0>:<EOL><INDENT>append = '<STR_LIT>' if len(a.attachments) == <NUM_LIT:1> else f'<STR_LIT>'<EOL>print(f'<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>print(a.text)<EOL><DEDENT>await next_activity(i + <NUM_LIT:1>)<EOL><DEDENT>else:<EOL><INDENT>print(f'<STR_LIT>')<EOL>await next_activity(i + <NUM_LIT:1>)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return responses<EOL><DEDENT><DEDENT>await next_activity(<NUM_LIT:0>)<EOL>
Logs a series of activities to the console.
:param context:
:param activities:
:return: