fbchat-dev / fbchat-dev/fbchat
QuickReply error thread ID is not set
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 403
- PR merge metrics
- No merged PRs in 30d
Description
## Description of the problem
ValueError: Thread ID is not set`
## Code to reproduce
```py
# Example code
quick_reply = fbchat.QuickReplyText(title="Click Me",image_url=None)
client.quickReply(quick_reply, payload="ACT::58e4f15ao326aa808768bb8068f3fc34", thread_id="512196067180134",thread_type=None)
can someone help me with this error thread ID is not set.
# Traceback (most recent call last):
File "bot.py", line 69, in
client.quickReply(quick_reply, payload="ACT::58e4f15ao326aa808768bb8068f3fc34", thread_id="512196067180134", thread_type=ThreadType.USER)
File "/usr/lib/python3.8/site-packages/fbchat/_client.py", line 1126, in quickReply
return self.send( File "/usr/lib/python3.8/site-packages/fbchat/_client.py", line 1057, in send
thread_id, thread_type = self._getThread(thread_id, thread_type)
File "/usr/lib/python3.8/site-packages/fbchat/_client.py", line 254, in _getThread raise ValueError("Thread ID is not set")
ValueError: Thread ID is not set
Contributor guide
Assessment
This issue has not been assessed yet.