This Go application is designed to collect usernames from Telegram groups and save them to a text file. It utilizes the Telegram Bot API for communication with Telegram.
- Connects to Telegram using a bot API token.
- Collects usernames from a specified Telegram group.
- Saves usernames to a text file for further processing.
- Replace the placeholder with your own Telegram API token in the
main
function. - Specify the Telegram group from which you want to collect usernames by modifying the
groupName
variable in themain
function. - Run the application.
go run main.go
This application depends on the github.com/go-telegram-bot-api/telegram-bot-api
package. Install it using the following command:
go get -u github.com/go-telegram-bot-api/telegram-bot-api
Feel free to reach out to me for any questions or feedback:
- Email: [email protected]
- Telegram: @Ashik_Spudblocks