#289 BotCommand type init fix

This commit is contained in:
Oleg A 2020-04-06 23:59:37 +03:00
parent 683e2befb5
commit 97bda44718

View file

@ -10,3 +10,6 @@ class BotCommand(base.TelegramObject):
"""
command: 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)