ruby – Adding a user to a telegram chat using a bot in Rails

Question:

Can you please tell me if it is possible to teach a bot to add a user to a group chat using Ruby (it is planned to wrap this in a Ruby on Rails application)?

Answer:

Bots based on the official Bot API cannot do this – there is no suitable method in the API.

Generally speaking, the main ideology of telegram bots is: the user interacts with the bot, but not vice versa. Bots cannot independently start a dialogue with a user, invite him to any groups, delete messages, etc.

Of course, all these restrictions can be bypassed by using the MtProto protocol and its telegram-cli implementation .

Scroll to Top