použití funkce ohlášení v zprávách