mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
#289 BotCommand type init fix
This commit is contained in:
parent
683e2befb5
commit
97bda44718
1 changed files with 3 additions and 0 deletions
|
|
@ -10,3 +10,6 @@ class BotCommand(base.TelegramObject):
|
||||||
"""
|
"""
|
||||||
command: base.String = fields.Field()
|
command: base.String = fields.Field()
|
||||||
description: base.String = fields.Field()
|
description: base.String = fields.Field()
|
||||||
|
|
||||||
|
def __init__(self, command: base.String, description: base.String):
|
||||||
|
super(BotCommand, self).__init__(command=command, description=description)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue