Skip to content

Golang Telegram Library#

license release

The Golang Telegram library for integration with the Telegram messenger through the API of the green-api.com service. To use the library, you need to get a registration token and an instance ID in the console. There is a free developer instance plan.

API#

The documentation for the REST API is available at this link. The library is a wrapper for the REST API, so the documentation at the link above also applies to the library itself.

Authorization#

To send a message or execute other GREEN-API methods, the instance must be in the authorized state. To authorize an instance, go to the console and scan the QR code using the Telegram application.

Usage examples#

The examples folder contains examples of all the library methods with all their parameters.

Documentation on the service methods#

License#

License#

Licensed under the terms of Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0).

See the LICENSE file.