L i RdZddlmZddlmZddlmZmZGddeeeefZy)z+This module contains the PollHandler class.)Update) BaseHandler)CCTRTc$eZdZdZdZdedefdZy) PollHandlera%Handler class to handle Telegram updates that contain a :attr:`poll `. Warning: When setting :paramref:`block` to :obj:`False`, you cannot rely on adding custom attributes to :class:`telegram.ext.CallbackContext`. See its docs for more info. Examples: :any:`Poll Bot ` Args: callback (:term:`coroutine function`): The callback function for this handler. Will be called when :meth:`check_update` has determined that an update should be processed by this handler. Callback signature:: async def callback(update: Update, context: CallbackContext) The return value of the callback is usually ignored except for the special case of :class:`telegram.ext.ConversationHandler`. block (:obj:`bool`, optional): Determines whether the return value of the callback should be awaited before processing the next handler in :meth:`telegram.ext.Application.process_update`. Defaults to :obj:`True`. .. seealso:: :wiki:`Concurrency` Attributes: callback (:term:`coroutine function`): The callback function for this handler. block (:obj:`bool`): Determines whether the callback will run in a blocking way.. updatereturncPt|txrt|jS)zDetermines whether an update should be passed to this handler's :attr:`callback`. Args: update (:class:`telegram.Update` | :obj:`object`): Incoming update. Returns: :obj:`bool` ) isinstancerboolpoll)selfr s h/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/telegram/ext/_handlers/pollhandler.py check_updatezPollHandler.check_update<s&&)?d6;;.??N)__name__ __module__ __qualname____doc__ __slots__objectrrr rrrrs$>I @6 @d @rrN) rtelegramr"telegram.ext._handlers.basehandlerrtelegram.ext._utils.typesrrrr rrrs,&2:-,@+fc2o.,@r