我正在使用telepot python库,我知道当你有某人的UserID(这是一个数字)时你可以发送一条消息.我想知道是否可以在没有用户ID的情况下向某人发送消息,但只能使用他们的用户名(以'@'开头的那个),还有一种方法可以将用户名转换为UserID.
python telegram python-telegram-bot telegram-bot
python ×1
python-telegram-bot ×1
telegram ×1
telegram-bot ×1