Please clarify! Changing conversations #256
Unanswered
TheEngineer71
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm sorry, but I'm new to python. I'm just using this library in python3, and am wondering how to change the conversation. I am aware that there is an answer for this, and for that I really do apologise, I'm sorry for re-asking. When using the
conversation_list = chatbot.get_remote_conversations()
command in a .py script, and then print it, it outputs this:[<hugchat.types.message.Conversation object at 0x103928e80>]
. how do I then use thechatbot.change_conversation(id)
command to change it. When using the output as an id, it outputs this:AttributeError: 'str' object has no attribute 'id'
. I've also tried it with an integer, such as id = 1, but it appears with this output:AttributeError: 'int' object has no attribute 'id'
. Once again I really do apologise for asking for clarification for an already answered question.Beta Was this translation helpful? Give feedback.
All reactions