This commit is contained in:
Alex Root Junior 2017-07-12 20:51:46 +03:00
parent 5b87708049
commit 667a7421c8

View file

@ -414,7 +414,7 @@ class BaseBot:
need_name: bool = None, need_phone_number: bool = None, need_email: bool = None,
need_shipping_address: bool = None, is_flexible: bool = None,
disable_notification: bool = None, reply_to_message_id: int = None,
reply_markup: dict or st = None) -> dict:
reply_markup: dict or str = None) -> dict:
if reply_markup and isinstance(reply_markup, dict):
reply_markup = json.dumps(reply_markup)