savely-krasovsky / go-tdjson

Golang bindings for TDLib (Telegram MTProto library)
MIT License
22 stars 6 forks source link

Documentation with examples? #5

Open ashfame opened 6 years ago

ashfame commented 6 years ago

Hi, Possible to add some documentation along with example code on how to do basic operations like:

I am a beginner with Go and documentation of tdlib is also hard to decipher coming from just PHP/JS background. I understand JSON interface is the only option to interact with it but its hard to understand that without an HTTP context, given my background.

There is no documentation on how tdlib behaves, where authorized sessions are maintained etc either so I don't even know where to began to put both of the projects together to create something meaningful. Trying to read source code to understand alone but the situation feels hopeless. Any pointers to what I should be learning would be appreciated :)

Arman92 commented 6 years ago

Hi there, I continued the work of L11R in my repo: https://github.com/Arman92/go-tdlib

I Agree, tdlib documentation are just class/function descriptions, no How-Tos explained. Check out my work, maybe gets you a hint

savely-krasovsky commented 6 years ago

@Arman92 very nice. I also tried to generate types, but it's unfineshed. Thanks!