From a6f8827433114754f20535afffd0498104681bc3 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 28 Nov 2020 15:52:47 +0100 Subject: [PATCH] Fix some missing raw API references in docs --- pyrogram/handlers/raw_update_handler.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pyrogram/handlers/raw_update_handler.py b/pyrogram/handlers/raw_update_handler.py index 9376409b..ed18fc4b 100644 --- a/pyrogram/handlers/raw_update_handler.py +++ b/pyrogram/handlers/raw_update_handler.py @@ -37,8 +37,8 @@ class RawUpdateHandler(Handler): The Client itself, useful when you want to call other API methods inside the update handler. update (``Update``): - The received update, which can be one of the many single Updates listed in the *updates* - field you see in the :obj:`~pyrogram.types.Update` type. + The received update, which can be one of the many single Updates listed in the + :obj:`~pyrogram.raw.base.Update` base type. users (``dict``): Dictionary of all :obj:`~pyrogram.types.User` mentioned in the update. @@ -47,7 +47,7 @@ class RawUpdateHandler(Handler): chats (``dict``): Dictionary of all :obj:`~pyrogram.types.Chat` and - :obj:`Channel ` mentioned in the update. + :obj:`~pyrogram.raw.types.Channel` mentioned in the update. You can access extra info about the chat (such as *title*, *participants_count*, etc...) by using the IDs you find in the *update* argument (e.g.: *chats[1701277281]*). @@ -55,10 +55,10 @@ class RawUpdateHandler(Handler): The following Empty or Forbidden types may exist inside the *users* and *chats* dictionaries. They mean you have been blocked by the user or banned from the group/channel. - - :obj:`UserEmpty ` - - :obj:`ChatEmpty ` - - :obj:`ChatForbidden ` - - :obj:`ChannelForbidden ` + - :obj:`~pyrogram.raw.types.UserEmpty` + - :obj:`~pyrogram.raw.types.ChatEmpty` + - :obj:`~pyrogram.raw.types.ChatForbidden` + - :obj:`~pyrogram.raw.types.ChannelForbidden` """ def __init__(self, callback: callable):