mirror of
https://github.com/valentineus/iii-client.git
synced 2025-12-21 14:13:22 +04:00
Release of version 2.1.0.
This commit is contained in:
@@ -12,10 +12,18 @@ Simple API for communicating with the bot of the \"iii.ru\" service.
|
||||
- Installation and processing of sessions.
|
||||
|
||||
## Installation
|
||||
NodeJS:
|
||||
```bash
|
||||
npm install --save iii-client
|
||||
```
|
||||
|
||||
Browser:
|
||||
```html
|
||||
<script src="https://unpkg.com/iii-client@latest/dist/bundle.js">
|
||||
/* client - This is the global name for accessing the package */
|
||||
</script>
|
||||
```
|
||||
|
||||
## Using
|
||||
An example of a connection, receiving session identification and sending a bot message:
|
||||
```javascript
|
||||
|
||||
Reference in New Issue
Block a user