add: android tv connection for remnawave
This commit is contained in:
@@ -152,6 +152,9 @@ async def key_cluster_mode(
|
||||
text=CONNECT_DEVICE, web_app=WebAppInfo(url=final_link)
|
||||
)
|
||||
)
|
||||
builder.row(
|
||||
InlineKeyboardButton(text=TV_BUTTON, callback_data=f"connect_tv|direct|{final_link}")
|
||||
)
|
||||
elif CONNECT_PHONE_BUTTON:
|
||||
builder.row(
|
||||
InlineKeyboardButton(
|
||||
|
||||
@@ -528,6 +528,9 @@ async def finalize_key_creation(
|
||||
web_app=WebAppInfo(url=public_link or remnawave_link),
|
||||
)
|
||||
)
|
||||
builder.row(
|
||||
InlineKeyboardButton(text=TV_BUTTON, callback_data=f"connect_tv|direct|{public_link or remnawave_link}")
|
||||
)
|
||||
elif CONNECT_PHONE_BUTTON:
|
||||
builder.row(
|
||||
InlineKeyboardButton(text=CONNECT_PHONE, callback_data=f"connect_phone|{key_name}")
|
||||
|
||||
@@ -326,6 +326,9 @@ async def render_key_info(
|
||||
text=CONNECT_DEVICE, web_app=WebAppInfo(url=final_link)
|
||||
)
|
||||
)
|
||||
builder.row(
|
||||
InlineKeyboardButton(text=TV_BUTTON, callback_data=f"connect_tv|direct|{final_link}")
|
||||
)
|
||||
else:
|
||||
if CONNECT_PHONE_BUTTON:
|
||||
builder.row(
|
||||
|
||||
Reference in New Issue
Block a user