diff --git a/pyrogram/types/update.py b/pyrogram/types/update.py index d3e45b4ab..406ffe985 100644 --- a/pyrogram/types/update.py +++ b/pyrogram/types/update.py @@ -16,12 +16,14 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see . +from typing import NoReturn + import pyrogram class Update: - def stop_propagation(self): + def stop_propagation(self) -> NoReturn: raise pyrogram.StopPropagation - def continue_propagation(self): + def continue_propagation(self) -> NoReturn: raise pyrogram.ContinuePropagation