What is a Bot?
A Chat bot, or Internet bot is an interactive piece of software that runs simple and repetitive automated tasks over the Internet. Bots are simply Telegram accounts operated by software – not people – and they'll often have AI features. They can do anything – teach, play, search, broadcast, remind, connect, integrate with other services, or even pass commands to the Internet of Things. In most cases you won’t even have to type anything, because bots will provide you with a set of custom buttons. Bots can now provide you with custom keyboards for specialized tasks that could look like this for example:
What do Bots do?
Bots simplify online interaction by making it unnecessary to leave your current app to search for content online . Bots are third-party applications that run inside Telegram. Users can interact with bots by sending them messages, commands and inline requests. Bots can allow you order for read news highlights, translate text, shop, check the weather, etc.
what information about user can a telegram bot access?
Bots are frequently added to groups in order to augment communication between human users, e.g. by providing news, notifications from external services or additional search functionality. This is especially true for work-related groups. Now, when you share a group with a bot, you tend to ask yourself “How can I be sure that the little rascal isn't selling my chat history to my competitors?” The answer is — privacy mode.
If privacy mode is disabled, the bot can read all messages sent in a group. If it is enabled, a bot is only receives messages aimed directly at the bot (e.g. using a command or a reply to a message from the bot) and replies to the bot's own messages and Service messages (people added or removed from the group, etc.). Users can check whether a bot's privacy mode is enabled/disabled. Users can always see a bot's current privacy setting in the group members list. If you look in the members list for a group there is a little message against the bot that says "has no access to messages".
A bot has access to these user info:
- The user's unique identifier (user id)
- The user's first name
- The user's last name (if the user has specified his last name in the settings)
- The user's username (if the user has configured a username)
The bot can only extract this info from a Message (i.e. it cannot query the group member's names).