Skip to content

gloob/go-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go binding of C Telegram library

This is a WIP integration of C Telegram library (https://github.com/vysheng/tgl) into Go

Build Status GoDoc Join the chat at https://gitter.im/gloob/go-telegram

Version: 0.1-alpha

LICENSE

go-telegram is licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

Current Development Status

  • Alpha version
  • In planning phase.
  • Any useful code yet.
  • Exposing the library into Go without any aliasing.

  • Beta version
  • TbD

How to Install

Sadly we are facing two problems with the current project approach:

  1. Unsupported git submodules in go get command. (golang/go#7764)
  2. Currently tgl library doesn't have a pkg-config package defined, so we need to compile it by ourselves in the correct location. (TODO: Need to create a issue for this or provide a pull request to the tgl project)

So you need to do some manual arrangment to succesfully install the package.

    $ go get -d github.com/gloob/go-telegram && \
      cd $GOPATH/src/github.com/gloob/go-telegram && \
      git submodule update --init --recursive && \
      cd ./lib/tgl && ./configure && make && \
      go get -u github.com/gloob/go-telegram

TODO:

Current Status

  • Linux
    • Not yet!
  • Mac OS
    • Not yet!
  • Windows
    • planned for 2015 Q4

Sample Program

Check ./tg directory. (WIP)

You can contact me at [email protected]

About

Go binding for Telegram

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •