original_docstring: 
          Removes archived conversations events from existing collection
  
          :param collection: collection to connect to
          :param sender_id: user id
          :param timestamp_req: the timestamp based on month up to which chat to be archived
          :return: none
          
docstring: Removes archived conversations events from existing collection
docstring_tokens: Removes archived conversations events from existing collection
code: def delete_user_conversations(collection: Text, sender_id: Text, timestamp_req: float):
  
          """
          Removes archived conversations events from existing collection
  
          :param collection: collection to connect to
          :param sender_id: user id
          :param timestamp_req: the timestamp based on month up to which chat to be archived
          :return: none
          """
          client, _ = HistoryProcessor.get_mongo_connection()
  
          with client as client:
              try:
                  db = client.get_database()
                  conversations = db.get_collection(collection)
  
                  # Remove Archived Events
                  conversations.update({'sender_id': sender_id},
                                       {'$pull': {
                                           'events': {'timestamp': {'$lt': timestamp_req}}}}
                                       )
              except Exception as e:
                  logger.error(e)
                  raise AppException(e)
code_tokens: def delete_user_conversations ( collection : Text , sender_id : Text , timestamp_req : float ) : client , _ = HistoryProcessor . get_mongo_connection ( ) with client as client : try : db = client . get_database ( ) conversations = db . get_collection ( collection ) conversations . update ( { 'sender_id' : sender_id } , { '$pull' : { 'events' : { 'timestamp' : { '$lt' : timestamp_req } } } } ) except Exception as e : logger . error ( e ) raise AppException ( e )
short_docstring: Removes archived conversations events from existing collection
short_docstring_tokens: Removes archived conversations events from existing collection
comment: """
          Removes archived conversations events from existing collection
  
          :param collection: collection to connect to
          :param sender_id: user id
          :param timestamp_req: the timestamp based on month up to which chat to be archived
          :return: none
          """$SEP$# Remove Archived Events