From 1852d74456c3cfef84cf691aae3a13bc6c644785 Mon Sep 17 00:00:00 2001 From: paragraf-lex <46480920+paragraf-lex@users.noreply.github.com> Date: Thu, 10 Jan 2019 09:45:13 +0100 Subject: [PATCH] Updated README.md v3 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d06a64..438c304 100644 --- a/README.md +++ b/README.md @@ -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. |