如何使用 python-telegram-bot 获取用户类型

时间:2021-04-09 17:46:20

标签: python telegram telegram-bot python-telegram-bot

我正在为我的机器人使用 python-telegram-bot。我想知道用户是普通用户、频道、机器人还是群组。

示例:

user_type = x_func("@practice_english")
print(user_type) # User type should be channel here.

可以为我完成这项任务的 x_func 是什么?

0 个答案:

没有答案