fbchat-dev / fbchat-dev/fbchat

FBchatException solution

未关闭
#653 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.2k
派生
403
PR 合并指标
30 天内没有已合并 PR

描述

I use fbchat to send a message, it works fine but when it doesn't find the person we get a FBchatException. I do not know how to make it possible for him to omit such a person.

```py
for i in range(liczba_pozycji):
klienci = client.searchForUsers(tab_imie_naziwsko[i])
klient = klienci[0]
client.send(Message(text=tab_produkt[i]),
thread_id=format(klient.uid), thread_type=ThreadType.USER)
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。