github xtrime-ru/TelegramApiServer v1.5.0
Websocket EventHandler

latest releases: v2.3.1, v2.3.0, v2.2.1...
4 years ago

TelegramApiSever now supports MadelineProto EventHandler.

Connect to ws://127.0.0.1:9503/events to subscribe to all events from running MadelineProto. Each event stored inside object, where key is name of session which created event.

When using CombinedAPI (multiple account) name of session can be added to path of websocket endpoint: ws://127.0.0.1:9503/events/session_name. This endpoint will emmit events only from given session.

PHP websocket client example: websocket-events.php

Don't miss a new TelegramApiServer release

NewReleases is sending notifications on new releases.