Skip to content

get random post from tg-channel, where bot is admin

Notifications You must be signed in to change notification settings

1goldenhaw/gorandtgbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Hi there! This code on golang (was tested on version 1.19).

The code implements the functionality for telegram bot - to get random message from telegram channel, that the bot is admin on it. To start :

  1. you need to fill env by your telegram bot token (ask it from @botfather).
  2. You need to append channelID of your channel (forward something to @getmyid_bot to get it).
  3. Press start in chat with bot and press "update" / "Обновить", then "get random post" / "Рандомный пост"

About

get random post from tg-channel, where bot is admin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages