Skip to content

Commit

Permalink
Updated README.md v3
Browse files Browse the repository at this point in the history
  • Loading branch information
paragraf-lex authored Jan 10, 2019
1 parent 1998c86 commit 1852d74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ You can change responding type Message and Event who listen that event.
| API | Accept | Description |
| --- | --- | --- |
| `on(new MessageEvent(...))` | `Event object` | Listen specific Event |
| `hears("Hi!")` | `string, array` | ViberBot listen key word `Hi!`, can be array for more words for one event |
| `hears("Hi!")` | `string, array, regex` | ViberBot listen key word `Hi!`, can be array for more words for one event |
| `body($callback)` | `callback` | ViberBot can do some business logic. |
| `replay("Hello World!")` | `string, array, Model` | ViberBot respond with `Hello World!`, can be array or Model |
| `send()` | --- | Send respond to Viber server. |

Expand Down

0 comments on commit 1852d74

Please sign in to comment.