It's a pretty simple application for sending pictures, gifs and videos periodically to your channel. Just build the binary from golang sources code, input your bot parameters into config.json, and period time (minutes). You have to put your media files on the directory which is named files in the same directory where you run your binary.
-
Build
go build telegramSender.go -
Run
./telegramSender
Это довольно простое приложение для периодической отправки изображений, гифок и видео на ваш канал. Просто создайте двоичный файл из исходного кода golang, введите параметры своего бота в config.json и укажите время (минуты). Вы должны поместить свои медиафайлы в каталог с именем files в том же каталоге, где вы запускаете свой двоичный файл.
- Сборка
- перейти на сборку telegramSender.go *
- Запуск *. / telegramSender *