2

I want to use main telegram api to sign in and manage telegram account from php code.

I read telegram documents and read all last topics and related questions like:

Calling Telegram API to create a feedreader bot

Accessing Telegram API via web-based client

Using telegram API with PHP

Using telegram API with PHP

Telegram API send messages with php or javascript?

and .....

if your answer is " ... use bot api " or " ... use telegram cli " I should say it's not good answer for my problem!

I want sign in as different users account and manage them.

tnx a lot

Community
  • 1
  • 1
  • Possible duplicate of [How to implement authorization using a Telegram API?](http://stackoverflow.com/questions/30661644/how-to-implement-authorization-using-a-telegram-api) – Danogentili Feb 17 '17 at 22:19

1 Answers1

1

1) get familiar with telegram API by studying existing source code.

2) Also write your own code to generate your Auth_key (see telegram api site)

3) build your own parser to handle conversion of byte streams into telegram types. you will need this to be able to interact with telegram servers

4) download a copy of webogram and run it locally with console.logs embedded in the JavaScript, particularly in the mtproto.js and other here: webogram\app\js\lib\

This might help https://stackoverflow.com/a/32809138/44080

Community
  • 1
  • 1
Charles Okwuagwu
  • 10,538
  • 16
  • 87
  • 157