logger->info('bot stopped (blocked) by user', [ 'chat_id' => $update->chatId, 'user_id' => $update->user->userId, ]); if ($this->api->debugs->getChatId() !== null) { $this->api->debugs->sendText(sprintf('user %d stopped the bot', $update->user->userId)); } } }