fix player ui
This commit is contained in:
parent
58eca166db
commit
b5a9437c05
|
|
@ -77,11 +77,13 @@ class PlayerTemplates:
|
|||
inline_keyboard_array = []
|
||||
extra_buttons = []
|
||||
else:
|
||||
content_hashtags = content_metadata_json.get('description').strip()
|
||||
if content_hashtags:
|
||||
content_hashtags += '\n\n'
|
||||
|
||||
text = f"""<b>{content_metadata_json.get('name', 'Unnamed')}</b>
|
||||
|
||||
{content_metadata_json.get('description').strip()}
|
||||
|
||||
<code><a href="{content_share_link['url']}">🌐 Открыть на MY</a></code>"""
|
||||
{content_hashtags}<pre><a href="{content_share_link['url']}">🌐 Открыть на MY</a></pre>"""
|
||||
|
||||
make_log("TG-Player", f"Send content {content_type} ({content_encoding}) to chat {self._chat_id}. {cd_log}")
|
||||
for kmsg in self.db_session.query(KnownTelegramMessage).filter_by(
|
||||
|
|
|
|||
Loading…
Reference in New Issue