A
Size: a a a
A
AN
AN
k
AN
k
k
v
BotMan\BotMan\Cache\LaravelCache;clearCache($telegram_id = null)
{
$cache = new LaravelCache();
if (!$telegram_id) {
$telegram_id = $this->getUserIdFromPost();
}
$message = new IncomingMessage('', $telegram_id, $telegram_id);
$cache->pull($message->getConversationIdentifier());
$cache->pull($message->getOriginatedConversationIdentifier());
$message = new IncomingMessage('', $telegram_id, '');
$cache->pull($message->getConversationIdentifier());
$cache->pull($message->getOriginatedConversationIdentifier());
$message = new IncomingMessage('', '', $telegram_id);
$cache->pull($message->getConversationIdentifier());
$cache->pull($message->getOriginatedConversationIdentifier());
}$bIsBotCommand = false;
foreach ($this->commands as $command) {
if (isset($post['callback_query']['data']) && strpos($post['callback_query']['data'], $command) === 0) {
$bIsBotCommand = true;
break;
}
if (isset($post['message']['text']) && strpos($post['message']['text'], $command) === 0) {
$bIsBotCommand = true;
break;
}
}($bIsBotCommand || ConversationHelper::instance()->isRootMenuAction()) {
ConversationHelper::instance()->clearCache();
}Event::listen(Helper::EVENT_BEFORE_LISTENEVENT_BEFORE_LISTEN, function ($botman) {
});v
AN
TK
v
AN
v
v
php artisan october:util git pullапать все плагины и шаблоны в которых есть .git, либо инициализировать сабмодули гита ))
S
AN
v
v
AN