Can you please tell if it is possible to teach a bot to add a user to a group chat using Ruby (it is planned to wrap it in a Ruby on Rails application)?
- Rails has nothing to do with it. Rails will be told what to say to do in Ruby when queried. The question is rather whether it can be done in Ruby. And how is it even done on something , you figured out? - D-side
- until they can understand whether it is possible in principle, therefore I ask "is it possible to teach a bot to add a user to a group chat" - Marusia Pro
- Ruby has nothing to do with it, bot can do everything in its documentation. I did not see such a function there. [Telegram Bot API] [1] [1]: core.telegram.org/bots/api - Alexander Shvaykin
|
1 answer
Bots based on the official Bot API do not know this - there is no suitable method in the API.
Generally speaking, the main ideology of bots for telegrams: the user interacts with the bot, but not vice versa. Bots can not independently start a dialogue with the user, invite him into any groups, delete messages, etc.
Of course, all these restrictions can be circumvented by using the MtProto protocol and its implementation of telegram-cli .
|