Initial Commit

This commit is contained in:
Avishkar Patil
2021-08-25 18:43:53 +05:30
committed by GitHub
parent d90e013fe0
commit 623e04bb77

View File

@@ -105,6 +105,7 @@ async def channel_receive_handler(bot, broadcast):
log_msg.message_id)
await log_msg.reply_text(
text=f"**Cʜᴀɴɴᴇʟ Nᴀᴍᴇ:** `{broadcast.chat.title}`\n**Cʜᴀɴɴᴇʟ ID:** `{broadcast.chat.id}`\n**Rᴇǫᴇsᴛ ᴜʀʟ:** {stream_link}",
# text=f"**Cʜᴀɴɴᴇʟ Nᴀᴍᴇ:** `{broadcast.chat.title}`\n**Cʜᴀɴɴᴇʟ ID:** `{broadcast.chat.id}`\n**Rᴇǫᴇsᴛ ᴜʀʟ:** https://t.me/FxStreamBot?start=AvishkarPatil_{str(log_msg.message_id)}",
quote=True,
parse_mode="Markdown"
)
@@ -113,6 +114,7 @@ async def channel_receive_handler(bot, broadcast):
message_id=broadcast.message_id,
reply_markup=InlineKeyboardMarkup(
[[InlineKeyboardButton("Dɴʟᴀᴅ ʟɪɴᴋ 📥", url=stream_link)]])
# [[InlineKeyboardButton("Dɴʟᴀᴅ ʟɪɴᴋ 📥", url=f"https://t.me/FxStreamBot?start=AvishkarPatil_{str(log_msg.message_id)}")]])
)
except FloodWait as w:
print(f"Sleeping for {str(w.x)}s")