Initial Commit

This commit is contained in:
Avi Patil
2021-04-25 18:32:17 +05:30
committed by GitHub
parent b2a7012805
commit ae619983db

View File

@@ -94,7 +94,7 @@ async def channel_receive_handler(bot, broadcast):
try:
log_msg = await broadcast.forward(chat_id=Var.BIN_CHANNEL)
await log_msg.reply_text(
text=f"**Channel Name:** `{broadcast.chat.title}`\n**Channel ID:** `{broadcast.chat.id}`\n**Link:** https://t.me/AH_File2Link_Bot?start=AbirHasan2005_{str(log_msg.message_id)}",
text=f"**Channel Name:** `{broadcast.chat.title}`\n**Channel ID:** `{broadcast.chat.id}`\n**Link:** https://avifilestreambot.herokuapp.com/{str(log_msg.message_id)}",
quote=True,
parse_mode="Markdown"
)
@@ -103,7 +103,7 @@ async def channel_receive_handler(bot, broadcast):
message_id=broadcast.message_id,
reply_markup=InlineKeyboardMarkup(
[
[InlineKeyboardButton("Get Direct Download Link", url=f"https://t.me/AH_File2Link_Bot?start=AbirHasan2005_{str(log_msg.message_id)}")]
[InlineKeyboardButton("Get Direct Download Link", url=f"https://avifilestreambot.herokuapp.com/{str(log_msg.message_id)}")]
]
)
)