Make build_reply_markup public

This commit is contained in:
Lonami Exo
2018-07-21 13:54:36 +02:00
parent 7750c9ff2f
commit 3bdfd4b32c
4 changed files with 17 additions and 6 deletions

View File

@@ -253,7 +253,7 @@ class InlineBuilder:
if sum(1 for x in (text, geo, contact, game) if x) != 1:
raise ValueError('Can only use one of text, geo, contact or game')
markup = self._client._build_reply_markup(buttons, inline_only=True)
markup = self._client.build_reply_markup(buttons, inline_only=True)
if text:
text, msg_entities = await self._client._parse_message_text(
text, parse_mode