telebot icon indicating copy to clipboard operation
telebot copied to clipboard

Send messages to group periodically

Open Hylance opened this issue 7 years ago • 3 comments

I want to build a telegram bot to send a message to a super group every couple of hours. Anyone has any idea how to realize that feature?

Hylance avatar Apr 28 '18 01:04 Hylance

In my opinion you can use the Tick-Event to measure the time. After an hour you send to the Group and save the last time you send to the Group. And so on... You must know the id of the Group.

GregorGlinka avatar Jun 02 '18 20:06 GregorGlinka

https://github.com/mullwar/telebot/issues/125

CarlosLopezES avatar Sep 23 '18 08:09 CarlosLopezES

i have done implement this functionality using node-cron same like #125

cikaldev avatar Mar 07 '21 16:03 cikaldev