async def delete_activity(self, context: TurnContext, conversation_reference: ConversationReference):
        """
        Deletes an activity that was previously sent to a channel. It should be noted that not all
        channels support this feature.
        :param context:
        :param conversation_reference:
        :return:
        """
        try:
            client = self.create_connector_client(conversation_reference.service_url)
            await client.conversations.delete_activity(conversation_reference.conversation.id,
                                                             conversation_reference.activity_id)
        except Exception as e:
            raise e
async def delete_activity(self, context: TurnContext, conversation_reference: ConversationReference):
        """
        Deletes an activity that was previously sent to a channel. It should be noted that not all
        channels support this feature.
        :param context:
        :param conversation_reference:
        :return:
        """
        try:
            client = self.create_connector_client(conversation_reference.service_url)
            await client.conversations.delete_activity(conversation_reference.conversation.id,
                                                             conversation_reference.activity_id)
        except Exception as e:
            raise e
async def delete_activity ( self , context : TurnContext , conversation_reference : ConversationReference ) : try : client = self . create_connector_client ( conversation_reference . service_url ) await client . conversations . delete_activity ( conversation_reference . conversation . id , conversation_reference . activity_id ) except Exception as e : raise e
Deletes an activity that was previously sent to a channel. It should be noted that not all
        channels support this feature.
        :param context:
        :param conversation_reference:
        :return:
Deletes an activity that was previously sent to a channel . It should be noted that not all channels support this feature . : param context : : param conversation_reference : : return :