我正在使用Python-Telegram-Bot创建一个Telegram Bot
我知道update.message.chat_id返回用户的聊天ID,但我需要知道如何获取用户的用户名或名字和/或姓氏.
update.message.chat_id
我在Telegram的文档中找到了这个,但我不知道如何使用它(我试过bot.getChat(update.message.chat_id)但没有结果)
bot.getChat(update.message.chat_id)
python telegram python-telegram-bot telegram-bot
python ×1
python-telegram-bot ×1
telegram ×1
telegram-bot ×1