telegram-bot-lua icon indicating copy to clipboard operation
telegram-bot-lua copied to clipboard

Let send bot a message spontaneously?

Open chrislo1976 opened this issue 3 years ago • 1 comments

Hi!

Is it currently possible to, for example, let the bot send a message spontaneously? Or does/can the bot only react on user actions (=> messages)?

I would like to achieve both. That means, the bot should react on Messages, but also should, for example, send Messages "by himself". The latter could maybe caused by a cyclic check, and if the check has a specific result, a warning is being sent...

Thanks!

chrislo1976 avatar Jul 06 '22 17:07 chrislo1976

I don't think it's possible, not from the maker of this library but from telegram it self. Telegram did not provide such method yet. you can check the available methods on telegram bot API, HERE.

NotMafia1010 avatar Jul 12 '22 06:07 NotMafia1010