mirror of
https://github.com/Mibew/docs.mibew.org.git
synced 2025-05-01 22:56:41 +03:00
Add docs for THREAD_USER_IS_READY event
This commit is contained in:
parent
eb4798b93f
commit
6cfefa8628
@ -488,6 +488,19 @@ the following items is passed to the event handlers:
|
|||||||
`\Mibew\Thread::getMessages()` return value for details of its structure.
|
`\Mibew\Thread::getMessages()` return value for details of its structure.
|
||||||
|
|
||||||
|
|
||||||
|
#### User is ready (since 2.1.0)
|
||||||
|
|
||||||
|
The event can be referenced using value of `\Mibew\EventDispatcher\Events::THREAD_USER_IS_READY`
|
||||||
|
constant.
|
||||||
|
|
||||||
|
This event is triggered after the thread is created, the user passed pre-chat
|
||||||
|
survey and all system messages are sent to him. This event is not triggered if
|
||||||
|
there are no online operators and the chat cannot be started. An associative
|
||||||
|
array with the following items is passed to the event handlers:
|
||||||
|
|
||||||
|
* "thread": an instance of `\Mibew\Thread`.
|
||||||
|
|
||||||
|
|
||||||
### <a name="users-events"></a>Users events
|
### <a name="users-events"></a>Users events
|
||||||
|
|
||||||
#### Alter threads
|
#### Alter threads
|
||||||
|
Loading…
Reference in New Issue
Block a user