Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

JSON terminal telegram cli? #10

Closed
m-derevyanko opened this issue Nov 5, 2014 · 1 comment
Closed

JSON terminal telegram cli? #10

m-derevyanko opened this issue Nov 5, 2014 · 1 comment

Comments

@m-derevyanko
Copy link

Hi! Is there any opportunity to work with your library in telegram-cli style (stdin/out), with JSON format of telegram traffic?

@majn
Copy link
Owner

majn commented Nov 5, 2014

Hi,
this application is a plugin to add support for telegram to Libpurple-based messengers, it cannot be used directly from terminal.

You might want take a look at at the telegram Java Library https://github.com/ex3ndr/telegram-api . I haven't looked at it thoroughly, but it shouldn't be too hard to serialize the classes that appear in there to JSON with tools like GSON and write an application that prints it to STDOUT.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants