You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/meinside/telegram-bot-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/meinside/telegram-bot-go

v0.11.18
Source
Go
Version published
Created
Source

Telegram Bot API helper for Golang

This package is for building Telegram Bots with or without webhook interface.

View the documentation here.

How to get

$ go get -u github.com/meinside/telegram-bot-go

Usage

See codes in samples/.

Test

With following environment variables:

$ export TOKEN="01234567:abcdefghijklmn_ABCDEFGHIJKLMNOPQRST"
$ export CHAT_ID="-123456789"

# for verbose output messages
$ export VERBOSE=true

run tests with:

$ go test

Not implemented (yet)

Todos

  • (WIP) Add tests for every API method

FAQs

Package last updated on 04 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts