Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
使用 InlineKeyboardButton python telegram bot 发送命令
在Python电报机器人中 是否有可能InlineKeyboardButton发送类似命令 cancel当它被按下时 例如 当用户按下取消按钮时 他们将自动发送 cancel 命令 然后由机器人处理 从这里的例子来看 https githu
python
python3x
telegram
telegrambot
pythontelegrambot
Telegram 机器人 API 键盘
我对 Telegram Bot Api 和 ReplyKeyboard 有问题 我正在使用 Python 2 7 并发送发布请求 TelegramAPI post TELEGRAM URL sendMessage data dict cha
python
tornado
telegram
telegrambot
pythontelegrambot
如何打破电报机器人循环 application.run_polling()?
def bot start application ApplicationBuilder token api key build async def stop update context await context bot send me
python
telegram
pythontelegrambot
如何解决 TypeError: __init__() 缺少 1 个必需的位置参数:'update_queue'?
我想创建一个 Telegram 机器人来检查网站上是否有新帖子 目前出于测试目的每 15 秒检查一次 如果是这样 它应该将包含帖子内容的消息发送到 Telegram 频道 为此 我已经有了以下 代码骨架 格式和添加方面的精细工作稍后再说 i
python
python3x
telegram
telegrambot
pythontelegrambot
如何从 Telegram Bot 接收图像[重复]
这个问题在这里已经有答案了 无法从我的电报机器人接收图像 尝试如下操作 import telegram from telegram ext import Updater from telegram ext import MessageHan
python
pythontelegrambot
(python) Telegram bot - 如何定期发送消息?
我对我的电报机器人感到左右为难 假设我必须创建一个函数 每周 每月一次向每个连接到机器人的用户询问一个问题 def check the week bot update reply keyboard YES NO bot send messa
python
telegram
telegrambot
pythontelegrambot
Telegram 机器人可以检测到加入频道活动的新成员吗?
我有一个 Telegram 机器人 我将此机器人设置为频道管理员 现在 当新用户通常加入频道 而不是群组 时 频道上没有消息 我们也无法收到任何消息getUpdates方法 从技术上讲 是否可以发布一条消息说 新用户已加入频道 从而捕获 新
强制关闭电报上的弹出窗口“打开此链接?”
当我在帖子中使用 html 格式并创建链接时 Telegram 会显示一个弹出窗口before打开链接 是否有脚本或其他东西可以强制关闭弹出窗口并立即打开链接 我不想插入链接没有 HTML 在单击链接之前 我按下 Enter 键 我使用 A
python
telegram
telegrambot
pythontelegrambot
phptelegrambot
如何使用 python Telegram Bot API 将文件上传到谷歌驱动器
我正在尝试将用户发送到我的机器人的文件上传到 Google 驱动器中 这是我的Python代码 usr bin env python import os import telegram import logging from telegra
python
googledriveapi
pythontelegrambot
Python Telegram Bot - run_daily 不起作用
我有与此相同的问题thread https stackoverflow com questions 61650938 telegram bot how to send messages daily new answer newreg 4f6
python
pythontelegrambot
Python 与电报机器人中的关键字“from”冲突
我想使用 python telegram bot 在 Python 脚本中打印用户信息 参考this https core telegram org bots api user page 但是当我打字时 print update messa
python
telegrambot
pythontelegrambot
如何在 Telethon 中正确使用 iter_download 功能进行多连接下载
我一直在尝试实现一个多线程电报下载客户端 对于单个下载 我们可以简单地使用 download media 功能 但 telethon 提供了 iter download 函数 根据文档 它用于流媒体 还包括暂停和恢复功能 我们可以使用它来通
telegrambot
pythontelegrambot
telethon
使 Python-Telegram-Bot 持久化
我最近使用 python telegram bot 库编写了一个简单的电报机器人 并将该机器人部署在 Heroku 上 现在我正在寻找一种有效的方法来使机器人持久化 允许它在运行之间存储 Bot data 和 user data 我查看了库
python
heroku
persistence
pythontelegrambot
在电报机器人上发送本地托管的照片
我正在使用 api telegram bot 和requests发送消息和图像 requests get url sendMessage params dict chat id send to user id text Messo 这工作正
python
telegram
telegrambot
pythontelegrambot
阅读 Telegram 公共频道的消息
我需要读取应用程序中某些公共频道的消息 例如它发生https tlgrm ru channels tech https tlgrm ru channels tech据我了解 该业务的机器人将无法工作 您需要使用客户端api 但是在任何地方都
telegram
pythontelegrambot
假装电报机器人正在打字?
如何让机器人假装正在输入消息 当机器人假装打字时 聊天中会出现以下文本 我用的是蟒蛇aiogram https github com aiogram aiogram框架 但对原生 Telegram API 的建议也会有所帮助 我认真建议使用
bots
telegram
pythontelegrambot
如何通过电视马拉松将消息转发给其他联系人
当我收到联系人发来的消息后 如何立即将消息转发到另一个聊天室 我创建这个示例只是为了测试路由 但它不起作用 usr local bin python3 from telethon import TelegramClient events a
telegram
telegrambot
pythontelegrambot
telethon
如何使用Python在Telegram机器人中发送表情符号?
我正在处理一个小项目 我决定添加表情符号以使视觉效果更好一点 但我无法发送它 我尝试过像 U000203C 这样的 Unicode 甚至尝试复制表情符号并粘贴它 但仍然无法做到 有什么办法可以发送表情符号吗 Unicode exchange
python3x
telegrambot
pythontelegrambot
从 Telegram 的机器人 API 获取投票结果和用户选择
我想知道是否有办法使用机器人 API 查找用户对非匿名投票的回复 我可以获得投票数 但我想知道特定用户的实际选择 是的 对于非匿名民意调查 当用户投票时您会收到更新 这些是更新update poll answer see https cor
python
telegram
telegrambot
pythontelegrambot
如何从事件循环外部(即从 python-telegram-bot 线程)使用discord.py 发送消息?
我想使用 python telegram bot 和 Discord py 版本 1 0 0 库来创建一个在不和谐和电报之间进行通信的机器人 然而问题是 discord py 使用异步函数和 python telegram bot 线程 使
python3x
pythonasyncio
discordpy
pythontelegrambot
1
2
»