mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed send_poll required params
This commit is contained in:
parent
d92a77dbe2
commit
f13a14c5ef
1 changed files with 2 additions and 2 deletions
|
|
@ -862,8 +862,8 @@ class Bot(BaseBot, DataMixin, ContextInstanceMixin):
|
|||
async def send_poll(self, chat_id: typing.Union[base.Integer, base.String],
|
||||
question: base.String,
|
||||
options: typing.List[base.String],
|
||||
disable_notification: typing.Optional[base.Boolean],
|
||||
reply_to_message_id: typing.Union[base.Integer, None],
|
||||
disable_notification: typing.Optional[base.Boolean] = None,
|
||||
reply_to_message_id: typing.Optional[base.Integer] = None,
|
||||
reply_markup: typing.Union[types.InlineKeyboardMarkup,
|
||||
types.ReplyKeyboardMarkup,
|
||||
types.ReplyKeyboardRemove,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue