original_docstring: 
          Deletes chat history for specific user in a bot
  
          Archives conversations based on month to conversations_archive DB
  
          :param month: default is current month and max is last 6 months
          :param collection: collection to connect to
          :param sender_id: user id
          :return: string message
          
docstring: Deletes chat history for specific user in a bot
  Archives conversations based on month to conversations_archive DB
docstring_tokens: Deletes chat history for specific user in a bot Archives conversations based on month to conversations_archive DB
code: def delete_user_history(collection: Text, sender_id: Text, month: int = 3):
  
          """
          Deletes chat history for specific user in a bot
  
          Archives conversations based on month to conversations_archive DB
  
          :param month: default is current month and max is last 6 months
          :param collection: collection to connect to
          :param sender_id: user id
          :return: string message
          """
          timestamp_req = Utility.get_timestamp_previous_month(month)
          HistoryProcessor.archive_user_history(collection=collection, sender_id=sender_id, timestamp_req=timestamp_req)
          HistoryProcessor.delete_user_conversations(collection=collection, sender_id=sender_id, timestamp_req=timestamp_req)
code_tokens: def delete_user_history ( collection : Text , sender_id : Text , month : int = 3 ) : timestamp_req = Utility . get_timestamp_previous_month ( month ) HistoryProcessor . archive_user_history ( collection = collection , sender_id = sender_id , timestamp_req = timestamp_req ) HistoryProcessor . delete_user_conversations ( collection = collection , sender_id = sender_id , timestamp_req = timestamp_req )
short_docstring: Deletes chat history for specific user in a bot
  Archives conversations based on month to conversations_archive DB
short_docstring_tokens: Deletes chat history for specific user in a bot Archives conversations based on month to conversations_archive DB
comment: """
          Deletes chat history for specific user in a bot
  
          Archives conversations based on month to conversations_archive DB
  
          :param month: default is current month and max is last 6 months
          :param collection: collection to connect to
          :param sender_id: user id
          :return: string message
          """