Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON and Socket interface does not render views #5

Open
bamdadd opened this issue Oct 11, 2018 · 1 comment
Open

JSON and Socket interface does not render views #5

bamdadd opened this issue Oct 11, 2018 · 1 comment

Comments

@bamdadd
Copy link

bamdadd commented Oct 11, 2018

Hi,

Thanks for the work to extend the cli to support views, but it seems like it only supports the views on the CLI not when you use the JSON or Socket interface.

If you guide me where to look at to provide this I might be able to update this and send a pull request to fix this.

Cheers

@altostratous
Copy link
Owner

Hey take a look at this commit. I had added support for view count in JSON output. Some other guy (@mohammadrezaprw) maintained the repository after me. He may give you more details.

But be careful. At the time I added this feature, Telegram didn't officially provide its latest scheme so I added the feature manually by coding in C. You may also use the etcli manner and generate the data structures and such stuff using the new Telegram scheme, or at least manage your changes in a way which doesn't make it harder for the next person who may update the scheme, thank you!

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

No branches or pull requests

2 participants