Giter Site home page Giter Site logo

Comments (6)

nickoala avatar nickoala commented on May 20, 2024

I am afraid I don't have time to answer such a general programming question with no clear specifications.

from telepot.

ookOok101 avatar ookOok101 commented on May 20, 2024

I wanted to know which functions to use and if such a bot is possible. whether the bot can read all activity in a particular group between particular times even when the activity is not initiated by the bot or when the messages are not directed towards the bot

from telepot.

nickoala avatar nickoala commented on May 20, 2024

Such a bot would not be possible. Bots can only see messages addressed to them. I don't see how a bot can monitor "all activities" in a group.

from telepot.

ravxl avatar ravxl commented on May 20, 2024

Nick,

I`m afraid that you are wrong this time! You should check the privacy
mode: https://core.telegram.org/bots#privacy-mode The bot can be able to
get all messages or only those which starts with /

Att,
Ravel Leite

On Fri, Apr 8, 2016 at 2:35 PM, Nick Lee [email protected] wrote:

Such a bot would not be possible. Bots can only see messages addressed to
them. I don't see how a bot can monitor "all activities" in a group.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/nickoala/telepot/issues/45#issuecomment-207529735

from telepot.

chustaschus avatar chustaschus commented on May 20, 2024

In groups the bot can not get all messages. You can check the telegram api

-All messages that start with a slash ‘/’ (seeCommands
https://core.telegram.org/bots#commands above)
-Messages that @mention the bot by username
-Replies to the bot's own messages

-Service messages (people added or removed from the group, etc.)

The bot does not receive all msg. You are wrong, Nick Lee is right

On 9 Apr 2016 3:19 a.m., "ravxl" <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:

Nick,

I`m afraid that you are wrong this time! You should check the privacy
mode: https://core.telegram.org/bots#privacy-mode The bot can be able to
get all messages or only those which starts with /

Att,
Ravel Leite

On Fri, Apr 8, 2016 at 2:35 PM, Nick Lee <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:

Such a bot would not be possible. Bots can only see messages addressed
to
them. I don't see how a bot can monitor "all activities" in a group.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/nickoala/telepot/issues/45#issuecomment-207529735


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

from telepot.

nickoala avatar nickoala commented on May 20, 2024

Ok, here's my understanding.

By default, privacy mode is enabled. When privacy mode is enabled, a bot will not receive all messages that people send to the group. It will only receive selected messages, e.g. those starting with a slash, those that @mention the bot by username, etc.

But privacy mode can be disabled, so that the bot will begin receiving all messages like an ordinary user.

@ravxl , if disabling privacy mode can achieve what you want, great! The lesson here is don't trust me. You can often get a quicker and better answer by reading the stuff yourself.

from telepot.

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.