This commit is contained in:
user 2024-04-05 14:18:37 +03:00
parent 0eca84a649
commit 0d63f2b53b
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ from app.core._keyboards import get_inline_keyboard
class PlayerTemplates: class PlayerTemplates:
async def send_content(self, content: StoredContent, extra_buttons=None, message_id=None): async def send_content(self, content: StoredContent, extra_buttons=None, message_id=None):
local_content = None local_content = None
content_type, content_encoding = 'application', 'x-binary'
if content: if content:
assert content.type.startswith('onchain/content'), "Invalid nodeStorage content type" assert content.type.startswith('onchain/content'), "Invalid nodeStorage content type"
inline_keyboard_array = [] inline_keyboard_array = []