from telethon.sync import TelegramClient
from telethon import functions, types
with TelegramClient(name, api_id, api_hash) as client:
result = client(functions.users.GetFullUserRequest(bot_name))
bot_info = result.bot_info
print(bot_info)
print(bot_info.description)
您需要使用^{} 来获取^{} 实例的^{} 属性:
相关问题 更多 >
编程相关推荐