Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
577 B
3
Indexable
Never
RegistrationWin = [    
Window(
        Const(translate.PRIVACY_POLICY),
        Replay(button="privacy_policy_buttons_kbd", id='PRIVACY_POLICY'),
        state=RegistrationStates.privacy_policy,
        markup_factory=ReplyKeyboardFactory(resize_keyboard=True)
    ),
    Window(
        Const(translate.CANCEL_PRIVACY_POLICY),
        Replay(button="restart_dialog_buttons_kbd", id='CANCEL_PRIVACY_POLICY'),
        state=RegistrationStates.cancel_private_policy,
        markup_factory=ReplyKeyboardFactory(resize_keyboard=True, one_time_keyboard=True)

    ),]
Leave a Comment