mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Regen code
This commit is contained in:
parent
0719b27b6d
commit
c209dd7e99
1 changed files with 3 additions and 1 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue