Cleanup usage of removed inline_only parameter (#4630)

This commit is contained in:
Darskiy 2025-05-31 00:18:58 +03:00 committed by GitHub
parent 8bb2ec30fe
commit f61518274e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -391,7 +391,7 @@ class InlineBuilder:
'text geo contact game'.split(), args) if x[1]) or 'none')
)
markup = self._client.build_reply_markup(buttons, inline_only=True)
markup = self._client.build_reply_markup(buttons)
if text is not None:
text, msg_entities = await self._client._parse_message_text(
text, parse_mode