G
G
George2015-02-25 16:44:52
PHP
George, 2015-02-25 16:44:52

Is it possible to create a chat for a website using the Telegram API?

I am faced with the task of developing a multi-user general chat (naturally with ajax) on the site.
I don’t want to reinvent the wheel, although there are a decent number of examples on the net: both good and not so good. Therefore, I decided to make a chat based on a ready-made solution. Then I remembered that Telegram is 100% open, but I just found api. There are no discussions or ready-made solutions anywhere :(
Therefore, the question arose: is it possible to create a multi-user chat based on the Telegram API.
Or can you suggest other solutions to the problem?
Thank you.

Answer the question

In order to leave comments, you need to log in

10 answer(s)
D
Dmitry Entelis, 2015-02-25
@DmitriyEntelis

Telegram is not 100% open, it's a marketing myth.
The source code of the server is closed, only the protocol specifications and the source code of the clients are open.
https://tlgrm.ru/faq#can-can-I-use-my-server
https://tlgrm.ru/sources
PS Since the server part is closed - all talk about mega-security is nothing more than cheap populism . Absolutely no one bothers the server owners to read all the correspondence of their users.

D
ddosoff, 2016-05-12
@ddosoff

You can tie a Telegram conversation to the site.
If there is already a conversation, add the @chatbro bot, log in via Telegram to chatbro.com , your chat will appear in the 'My Conversations' section. Now it can be embedded on any site.

V
Victor, 2015-02-26
@Levhav

There are ready-made services for organizing various kinds of realtime functions on
comet-server.ru sites
https://pusher.com/pricing
https://fanout.io/
www.gamooga.com/pricing
https://www.tambur.io/ pricing
https://www.hydna.com/plans-and-pricing/

T
tgwidget, 2016-12-18
@tgwidget

to display the chat on the site, you can use the telegram widget https://tgwidget.com/

E
evnuh, 2015-02-25
@evnuh

It is quite possible to write such a chat using the telegram API. And if you don’t want to write your own client, then you can generally use tg-cli as a backend for your chat on the site.

A
Alex, 2015-08-04
@isqua

Just an article about this on Habré: habrahabr.ru/post/264035

V
van4oza, 2017-03-25
@van4oza

https://github.com/Surzhikov/Telegram-Site-Helper-2.0

F
finik81, 2018-03-21
@finik81

Here is a great service guys have created. Just from the web everything comes to Telegram - https://replain.cc/ru

S
Stalker_RED, 2017-11-16
@Yagumi

border-radius and transform: skewX
https://jsfiddle.net/d2qrjaus/ (numbers need to be more precise)
If it doesn’t work, you can draw in SVG or on canvas

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question