This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyrogram | |
from pyrogram import Client, filters | |
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton | |
from pyrogram.types import User, Message | |
from pyrogram.errors import UserNotParticipant | |
UPDATE_CHANNEL= "channel name without '@'" | |
# Follow me on Github - Github.com/nuhmanpk | |
# Join @BugHunterBots for more |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple Plugin to Remove Forward tag From a Message. Powered by Pyrogram | |
# Idea by - https://github.com/lntechnical2 | |
from pyrogram import Client, filters | |
from pyrogram.types import Message | |
@Client.on_message(filters.command("rm_tag") & ~filters.edited & filters.private) | |
async def rmforwdtag(client: Client, message: Message): | |
replied_msg = message.reply_to_message | |
rmtag_chat = message.chat.id |