Skip to content

Golang WhatsApp Library v2.0#

license release

Golang WhatsApp Library for integration with WhatsApp messenger via API of green-api.com service. To use the library you have to get a registration token and an instance ID in the console. There is a free developer instance plan.

Outdated library Golang WhatsApp client Library v1.0

Warning!!! The old version Golang WhatsApp client Library v1.0 of the documentation can be found at the link. The version is outdated and left for compatibility.

API#

You can find REST API documentation by link. The library is a wrapper for REST API, so the documentation at the above url applies to the library as well.

Authorization#

To send a message or to execute some other Green API methods, you have to have the WhatsApp account in the phone application to be authorized. To authorize your instance please go to the console and scan a QR-code using the WhatsApp application.

Examples of using#

Examples of all library methods with all parameters can be found in the examples folder.

Service methods documentation#

License#

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

Please see file LICENSE.