Adds support for Telegram to Pidgin, Adium, Finch and other Libpurple based messengers.
Find a file
2014-09-20 18:39:13 +02:00
purple-plugin Flush connection after execiton of timer function 2014-09-20 10:02:49 +02:00
.gitignore Ignore core dumps 2014-09-20 18:12:00 +02:00
.travis.yml Update build tool dependencies and add a new configure 2014-09-20 18:13:02 +02:00
binlog.c Add missing message allocated handlers 2014-09-08 23:09:20 +02:00
binlog.h Move binlog globals into a structure 2014-08-22 17:05:29 +02:00
binlog.tl Added files for binlog 2013-11-13 04:11:25 +04:00
configure Update build tool dependencies and add a new configure 2014-09-20 18:13:02 +02:00
configure.ac Remove non-working checks for glib and libpurple (for now) and generate a new configure 2014-09-20 16:57:50 +02:00
constants.h Merge github.com:vysheng/tg 2014-03-21 01:03:42 +04:00
gen_constants_h.awk Added full support for layer 10 2013-11-15 14:37:14 +04:00
include.h Added GPL-headers to source files 2013-10-23 18:26:17 +04:00
LICENSE Added GPL license text 2013-10-23 18:53:22 +04:00
LICENSE.h Added some fixes required by GPL 2013-10-25 13:28:29 +04:00
loop.c Remove unused includes of libreadline 2014-09-20 16:23:39 +02:00
loop.h write secret chat file into user-specific directory and fix config path creation 2014-09-06 01:04:57 +02:00
Makefile.in User State/Typing implemented 2014-08-23 16:23:37 +02:00
msglog.c Refactor Intermediate State 1 2014-07-29 15:36:59 +02:00
msglog.h Refactor Intermediate State 1 2014-07-29 15:36:59 +02:00
mtproto-client.c Add log output for received message types 2014-09-20 10:04:40 +02:00
mtproto-client.h Use a separate handles for each mtproto_connection 2014-09-17 22:51:46 +02:00
mtproto-common.c Log all output of verbosity-level 1 to libpurple log 2014-08-22 17:39:05 +02:00
net.c Add log output for received message types 2014-09-20 10:04:40 +02:00
net.h Free memory and close connections on disconnect 2014-09-01 21:57:35 +02:00
no-preview.h Forgot GPL header. 2013-11-05 03:55:41 +04:00
queries.c Fix a bug that caused old messages to not be loaded on startup 2014-09-18 22:26:08 +02:00
queries.h Fix a bug that caused old messages to not be loaded on startup 2014-09-18 22:26:08 +02:00
README.md Improve README 2014-09-20 18:39:13 +02:00
structures.c Add group chats 2014-09-07 20:56:44 +02:00
structures.h Free memory and close connections on disconnect 2014-09-01 21:57:35 +02:00
telegram.c Fix a bug that caused old messages to not be loaded on startup 2014-09-18 22:26:08 +02:00
telegram.h Use a separate handles for each mtproto_connection 2014-09-17 22:51:46 +02:00
tg-server.pub Enhance naming to show that the pubkey is the server's. 2014-03-11 15:10:19 +01:00
tools.c Remove unused code and build files 2014-08-23 12:57:38 +02:00
tools.h Refactor - Intermediate Commit 3 2014-08-06 19:45:46 +02:00
tree.h Added partial lua support 2014-01-12 04:43:29 +04:00

telegram-purple

Telegram-purple is a Libpurple plugin that adds support for the Telegram messenger. Its still in an early (pre-alpha) development stage, but already provides basic chat functionality and group chats.

This plugin is based on the great Telegram-cli, a full-featured terminal-based client for Telegram created by Vysheng.

Features

Our long-term plan is to implement all major features of the Telegram protocol, but at the moment only a subset of the chat features is working.

Already Implemented

- Group chats
- Multiple accounts
- Complies with proxy settings

Planned

The following features are currently planned and will probably be added in the future:

- Encrypted chats
- Picture, audio and video messages
- File transfers
- Geo-locations
- Emojie
- Adium Plugin

Platform Support

Currently we can only provide an installation guide for Linux, even though it should be possible to compile this plugin on all platforms. If someone manages to create a working Windows or OSX build, please let us know.

A Word of Warning

This is a very early (pre-alpha) version for development and testing and NOT for productive use. Even though it already provides basic features, you should still expect bugs and crashes when running it.

When encountering a crash or some other bugs, please report it to us, preferably together with a backtrace [https://developer.pidgin.im/wiki/GetABacktrace]

Installation Instructions

Unfortunately there are currently no packages, so you need to compile it yourself:

Get this repository either from Bitbucket or from the Github mirror.

    git clone https://bitbucket.org/telegrampurple/telegram-purple

Fetch all needed dependencies

This plugin depends on a working libpurple client and the following packages:

    - glib-2.0
    - libcrypto
    - libpurple
    - libzlib

On Fedora you can install all dependencies with:

    sudo yum install gcc openssl-devel glib2-devel libpurple-devel

And on Debian/Ubuntu you can use:

    sudo apt-get install libssl-dev libglib2.0-dev libpurple-dev

Compile and install

    ./configure
    make
    sudo make install

Usage

After succesfully completing all steps mentioned in the installation instructions, you should restart Pidgin to ensure that the plugin is loaded. When everything went well, Telegram should show up in the account manager:

Create a new Telegram account

The username is your current phone number, including your full country prefix instead of a leading '0'. For Germany, this would be '+49' for example. Telegram will verify your phone number by sending you a verification code via sms. You will be prompted for this code, once that happens.

Provide a phone number

Now you should be able to see all your contacts and chats in your buddy list and send/receive messages.