Coder Social home page Coder Social logo

Comments (11)

jqqqqqqqqqq avatar jqqqqqqqqqq commented on May 20, 2024

@cesaryuan tg bot 的feature,bot收不到其他bot的消息

from unifiedmessagerelay.

cesaryuan avatar cesaryuan commented on May 20, 2024

@jqqqqqqqqqq 机器人的隐私模式默认是开启的,我昨天关了隐私模式之后,通过getupdate测试是可以收到的,下面是我收到的内容

{ "ok": true, "result": [ { "update_id": 288726743, "channel_post": { "message_id": 55, "chat": { "id": -1001179299168, "title": "测试频道", "username": "Cesaryuan_test_channel1", "type": "channel" }, "date": 1572942973, "text": "这是Bot发的消息" } }, { "update_id": 288726744, "message": { "message_id": 132, "from": { "id": 541004243, "is_bot": false, "first_name": "cesar", "last_name": "yuan", "username": "cesaryuan", "language_code": "zh-hans" }, "chat": { "id": -1001453271784, "title": "测试群组", "username": "cesaryuan_test_group", "type": "supergroup" }, "date": 1572942993, "text": "这是用户发的消息" } } ] }
image

from unifiedmessagerelay.

jqqqqqqqqqq avatar jqqqqqqqqqq commented on May 20, 2024

@cesaryuan channel是可以收到的,然而没做channel支持

from unifiedmessagerelay.

jqqqqqqqqqq avatar jqqqqqqqqqq commented on May 20, 2024

@cesaryuan 从来没测试过channel到底能不能正常工作

from unifiedmessagerelay.

cesaryuan avatar cesaryuan commented on May 20, 2024

您所说的channel不支持是指不能从channel转发到QQ是吧。
这个我明白,但是我这个不是channel,是group,见截图

image

from unifiedmessagerelay.

jqqqqqqqqqq avatar jqqqqqqqqqq commented on May 20, 2024

@cesaryuan https://core.telegram.org/bots/faq#why-doesn-39t-my-bot-see-messages-from-other-bots

from unifiedmessagerelay.

cesaryuan avatar cesaryuan commented on May 20, 2024

我看到这个了,我也不知道为什么我的getupdate可以收到其他bot的消息(我应该没有出现幻觉,测试了好几遍),所以想知道有没有可能自己修改下代码就可以转发bot所发的消息了。
感谢大佬耐心回复。

from unifiedmessagerelay.

jqqqqqqqqqq avatar jqqqqqqqqqq commented on May 20, 2024

@cesaryuan 可以收到其他channel的bot消息,supergroup不行

from unifiedmessagerelay.

cesaryuan avatar cesaryuan commented on May 20, 2024

我明白了,我疏忽了个地方,谢谢大佬

from unifiedmessagerelay.

cesaryuan avatar cesaryuan commented on May 20, 2024

再问一个问题哈,大佬以后会考虑支持channel吗

from unifiedmessagerelay.

wtdcode avatar wtdcode commented on May 20, 2024

@cesaryuan 目前没空

from unifiedmessagerelay.

Related Issues (20)

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.