Giter Club home page Giter Club logo

Comments (6)

WordlessEcho avatar WordlessEcho commented on September 28, 2024

可以尝试一下删除数据库然后重新运行

from danmaqua-telegrambot.

wh7 avatar wh7 commented on September 28, 2024

可以尝试一下删除数据库然后重新运行

删除数据库后该问题解决。

现在又有新问题。用 /subscribe [房间id] [频道id]时 bot提示“你指定的目标不允许机器人发送消息,请检查机器人是否被禁言和是否未加入聊天。”尽管我已经将bot添加到对应频道的admin中。

from danmaqua-telegrambot.

fython avatar fython commented on September 28, 2024

可以尝试一下删除数据库然后重新运行

删除数据库后该问题解决。

现在又有新问题。用 /subscribe [房间id] [频道id]时 bot提示“你指定的目标不允许机器人发送消息,请检查机器人是否被禁言和是否未加入聊天。”尽管我已经将bot添加到对应频道的admin中。

@wh7 传入给机器人的频道与群组 ID 需要是带 -100 开头的格式,仅当传入用户 ID 不需要。

例如 @dmq_minatoaqua 在一些工具中查看到的 ID 是 1334623747 ,实际上要让机器人接口识别需要使用 -1001334623747

from danmaqua-telegrambot.

wh7 avatar wh7 commented on September 28, 2024

@fython 感谢,成功添加。

from danmaqua-telegrambot.

WordlessEcho avatar WordlessEcho commented on September 28, 2024

可以尝试一下删除数据库然后重新运行

删除数据库后该问题解决。

现在又有新问题。用 /subscribe [房间id] [频道id]时 bot提示“你指定的目标不允许机器人发送消息,请检查机器人是否被禁言和是否未加入聊天。”尽管我已经将bot添加到对应频道的admin中。

第二个参数(也就是“频道ID”)也可以直接使用username,例如/subscribe 21304638 @dmq_KaguraNana

from danmaqua-telegrambot.

wh7 avatar wh7 commented on September 28, 2024

@WordlessEcho 感谢!

from danmaqua-telegrambot.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.