. * * @author Daniil Gentili * @copyright 2016-2023 Daniil Gentili * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 * @link https://docs.madelineproto.xyz MadelineProto documentation */ namespace danog\MadelineProto; /** * Indicates that a specified peer (user, chat, channel) was not found in the internal MadelineProto peer database. * * This can usually be fixed by enabling `setFullFetch(true)` in the [peer database settings](https://docs.madelineproto.xyz/PHP/danog/MadelineProto/Settings/Peer.html#setfullfetch-bool-fullfetch-self). */ final class PeerNotInDbException extends Exception { public function __construct() { parent::__construct(Lang::$current_lang['peer_not_in_db']); } }