Zapix/zagram

Allow special params for ws connection.

Closed this issue · 0 comments

Zapix commented

Need to pass custom params for ws connection object.
There is a little difference how we should create ws with original telegram server and custom mtpylon backend.

telegram ws connection:

ws = new WebSocket(this.url, ['binary']);

mtpylon ws connection:

ws = new WebSocket(this.url);