我想使用 py-telegram-bot-api 选择 Telegram 频道中已存在的所有帖子并将它们发送到某处
我使用了 get_chat_history 但 py-telegram-bot-api 没有这个属性。
这是不可能的。 您无法获取聊天历史记录(帖子、消息、加入、let)。 您只能获得未来或现在的聊天达拉。 使用
@bot.chat_member_handler()
、 @bot.channel_post_handler()
、 @bot.edited_channel_post_handler(
) 、 @bot.chat_join_request_handler()
、 bot.get_chat_permissions
等