Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/helper/Channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
from pyrogram.types import *

# Replace this with your own channel ID
CHANNEL_ID = -1001944607209
CHANNEL_ID = -1002215391147

@Client.on_message(filters.channel & filters.media)
async def add_button(client, message):
if message.chat.id == CHANNEL_ID:
button = InlineKeyboardMarkup(
[[InlineKeyboardButton("🔰𝗠𝗼𝘃𝗶𝗲 𝗦𝗲𝗮𝗿𝗰𝗵 𝗚𝗿𝗼𝘂𝗽🔰", url="https://t.me/learning_bots")]]
[[InlineKeyboardButton("🔰𝗠𝗼𝘃𝗶𝗲 𝗦𝗲𝗮𝗿𝗰𝗵 𝗚𝗿𝗼𝘂𝗽🔰", url="https://t.me/+d_JIk_rXr4JkZDM1")]]
)

try:
Expand Down