Regen code

This commit is contained in:
Alex Root Junior 2021-01-25 00:29:07 +02:00
parent 0719b27b6d
commit c209dd7e99

View file

@ -2,6 +2,8 @@ from __future__ import annotations
from typing import Optional
from pydantic import Field
from .base import MutableTelegramObject
@ -12,7 +14,7 @@ class ReplyKeyboardRemove(MutableTelegramObject):
Source: https://core.telegram.org/bots/api#replykeyboardremove
"""
remove_keyboard: bool = True
remove_keyboard: bool = Field(True, const=True)
"""Requests clients to remove the custom keyboard (user will not be able to summon this keyboard; if you want to hide the keyboard from sight but keep it accessible, use *one_time_keyboard* in :class:`aiogram.types.reply_keyboard_markup.ReplyKeyboardMarkup`)"""
selective: Optional[bool] = None
"""*Optional*. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the *text* of the :class:`aiogram.types.message.Message` object; 2) if the bot's message is a reply (has *reply_to_message_id*), sender of the original message."""