
    soj                         d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZ d dlmZ  G d	 d
e          Zdedej        deddfdZdS )    )StrEnum)Update)ContextTypesN)"NOTIFICATION_CATEGORY_DESCRIPTIONS)Screen)Keyboard)full_message_sendc                       e Zd ZdZdS )NotificationReservedKeysaN)__name__
__module____qualname__CATEGORY     >/app/src/chat/private/screens/screen_settings_notifications.pyr   r      s        HHHr   r   updatecontextinbound_keyboardreturnc           	      b  K   g }t          t          t          j                    d                     }|                                D ]A\  }}|                    t          |t          j        t          j	        |i          g           Bt          |t          j        | ||           d{V  dS )z
    Manage the settings screen
    :param update: The update
    :param context: The context
    :param inbound_keyboard: The inbound keyboard
    :return: None
    c                     | d         S )N   r   )xs    r   <lambda>zmanage.<locals>.<lambda>   s
    1 r   )key)screeninfo)r   keyboardr   N)dictsortedr   itemsappendr   r   PVT_SETTINGS_NOTIFICATIONS_TYPEr   r   r	   phrasesPVT_TXT_SETTINGS_NOTIFICATIONS)r   r   r   inline_keyboardnotifications_sortedcategorydescriptions          r   manager,      s       -/O1799~~NNN  "6!;!;!=!= 	
 	
+!A2;XF  	
 	
 	
 	
 . )           r   )enumr   src.tg_compatr   src.tg_compat.extr   resources.phrasesr&   src.model.enums.Notificationr   src.model.enums.Screenr   src.model.pojo.Keyboardr   src.service.message_servicer	   r   DEFAULT_TYPEr,   r   r   r   <module>r6      s                      * * * * * * # # # # # # K K K K K K ) ) ) ) ) ) , , , , , , 9 9 9 9 9 9    w   !!)6!JR!	! ! ! ! ! !r   