Getting started with the Telegram API: Any useful resource? [closed]
Asked Answered
A

1

6

There are already some threads on the class Telegram API, but none was really helpful.

I'm currently trying to implement it in an Android app in order to send messages through Telegram. The documentation they provide is close to incomprehensible, so do you know any good resource or guide on the API?

It seems to be necessary to instantiate TelegramApi, but this class isn't even included in the telegram .jar archive.

Does anyone have a tip on how to get started with the implementation?

Astarte answered 20/8, 2015 at 12:39 Comment(2)
Did you try our friend GoogleBurnsides
Sure. But even he couldn't tell me much today...Astarte
I
2

To get stared you need to first implement Telegram AuthKey.

The documentation you need is here:

https://core.telegram.org/mtproto/auth_key

and here

https://core.telegram.org/mtproto/samples-auth_key

What this gives you is a starting point into understanding the documentation writing style for Telegram API, as well as a grasp of the basic patterns for interacting with Telegram-API

I had put together a detailed write up on the process i took here: https://mcmap.net/q/302695/-how-to-implement-authorization-using-a-telegram-api

What you should aim at is first Successfully getting your Telegram AuthKey, understanding the data you are sending and the structure of what you are receiving back.

The procedures and patterns you build along the way will be usable for further exploration of the Telegram API

Ingold answered 27/9, 2015 at 17:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.