File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,7 +258,10 @@ socket.on('take history', (
258258 }) => {}); // Uploading 10 messages from the history to the user
259259```
260260``` js
261- socket .on (' disconnect' , () => {}); // Exit chat
261+ socket .on (' disconnect' ); // Exit chat
262+ ```
263+ ``` js
264+ socket .on (' update admlist' ); // Updating the list of administrators on the server
262265```
263266
264267Telegram Bot events include ` message ` , ` callback_query ` (Contacts) и ` /start ` .
Original file line number Diff line number Diff line change @@ -258,7 +258,10 @@ socket.on('take history', (
258258 }) => {}); // Выгрузка из истории 10 сообщений пользователю
259259```
260260``` js
261- socket .on (' disconnect' , () => {}); // Выход из чата
261+ socket .on (' disconnect' ); // Выход из чата
262+ ```
263+ ``` js
264+ socket .on (' update admlist' ); // Обновление списка администраторов на сервере
262265```
263266
264267К событиям Telegram Bot относятся ` message ` , ` callback_query ` (Контакты) и ` /start ` .
You can’t perform that action at this time.
0 commit comments