fix
This commit is contained in:
parent
27c79d588c
commit
6127fc588e
|
|
@ -69,7 +69,9 @@ class PlayerTemplates:
|
||||||
return await tg_process_template(
|
return await tg_process_template(
|
||||||
self, text, message_id=message_id, **template_kwargs,
|
self, text, message_id=message_id, **template_kwargs,
|
||||||
keyboard=get_inline_keyboard([*inline_keyboard_array, *extra_buttons]) if inline_keyboard_array else None,
|
keyboard=get_inline_keyboard([*inline_keyboard_array, *extra_buttons]) if inline_keyboard_array else None,
|
||||||
message_type=f'content/{content_type}', message_meta={'content_sha256': content_meta['hash']} if local_content else {}, content_id=content.id
|
message_type=f'content/{content_type}',
|
||||||
|
message_meta={'content_sha256': content_meta['hash']} if local_content else {},
|
||||||
|
content_id=content.id if content else None
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue