Go bindings to the Threema Gateway

3aa93c6 am-hook: Fix missing return

1 year, 9 months ago

Jonathan Barda via public-inbox

3 years ago


Go Reference builds.sr.ht status

Go bindings for gateway.threema.ch

Threema Gateway is a paid service allowing you to write messages to and receive messages from other Threema accounts using a dedicated Gateway account. For more information see the Threema.Gateway website.


Cryptographic operations are done using golang.org/x/crypto/nacl.

The following features are supported:

  • [x] Lookup Threema IDs by phone/email
  • [x] (E2E-only) Lookup public keys by ID
  • [x] Sending text messages to Threema IDs / phone numbers / e-mail addresses
  • [x] Querying receiver capabilities
  • [x] Uploading blobs (prerequisite for sending images, videos and files)
  • [x] Sending images

The following features are not (yet) supported:

  • [ ] Sending videos
  • [ ] Sending files
  • [ ] Receiving messages
  • [ ] Integration tests


The tcli binary provides basic gateway functionality. It is currently ran as pseudo-integration test as running real integration tests against the live gateway server costs credits (and thus money).


This project is licensed under the 3-clause BSD license.