Comments (6)
可以尝试一下删除数据库然后重新运行
from danmaqua-telegrambot.
可以尝试一下删除数据库然后重新运行
删除数据库后该问题解决。
现在又有新问题。用 /subscribe [房间id] [频道id]
时 bot提示“你指定的目标不允许机器人发送消息,请检查机器人是否被禁言和是否未加入聊天。”尽管我已经将bot添加到对应频道的admin中。
from danmaqua-telegrambot.
可以尝试一下删除数据库然后重新运行
删除数据库后该问题解决。
现在又有新问题。用
/subscribe [房间id] [频道id]
时 bot提示“你指定的目标不允许机器人发送消息,请检查机器人是否被禁言和是否未加入聊天。”尽管我已经将bot添加到对应频道的admin中。
@wh7 传入给机器人的频道与群组 ID 需要是带 -100
开头的格式,仅当传入用户 ID 不需要。
例如 @dmq_minatoaqua 在一些工具中查看到的 ID 是 1334623747
,实际上要让机器人接口识别需要使用 -1001334623747
。
from danmaqua-telegrambot.
@fython 感谢,成功添加。
from danmaqua-telegrambot.
可以尝试一下删除数据库然后重新运行
删除数据库后该问题解决。
现在又有新问题。用
/subscribe [房间id] [频道id]
时 bot提示“你指定的目标不允许机器人发送消息,请检查机器人是否被禁言和是否未加入聊天。”尽管我已经将bot添加到对应频道的admin中。
第二个参数(也就是“频道ID”)也可以直接使用username,例如/subscribe 21304638 @dmq_KaguraNana
from danmaqua-telegrambot.
@WordlessEcho 感谢!
from danmaqua-telegrambot.
Related Issues (12)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from danmaqua-telegrambot.