-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.. _sphinx-chapter: | ||
|
||
.. meta:: | ||
:description: Примеры использования компонента WebSocket 1C | ||
:keywords: websocket, примеры, slack | ||
|
||
.. meta:: | ||
:http-equiv=Content-Type: text/html; charset=utf-8 | ||
|
||
======================================= | ||
Примеры использования | ||
======================================= | ||
|
||
slack bot | ||
~~~~~~~~~~~~~ | ||
|
||
Если в функцию объекта передаются параметры не соответствующих типов, то в тексте описания ошибки будет содержаться "<bad cast>" | ||
|
||
.. index:: slack | ||
.. function:: SlackBot() | ||
|
||
Описание: Пример Эхо бота Slack с постоянным подключения и отслеживанием событий | ||
|
||
.. code-block:: bsl | ||
:linenos: | ||
// Запустить процедуру отправить сообщение в канал | ||
Процедура SlackBot() | ||
КонецПроцедуры |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters