async def copy(client, message): fuser = message.from_user.id if check_blacklist(fuser): return add_chat(fuser) chat = message.chat.id await message.copy(chat)
async def captionsettings(client, message): fuser = str(message.from_user.id) if check_blacklist(fuser): return add_chat(fuser) await message.reply_text( CAPTION_SETTINGS, reply_markup=REPLY_MARKUP )
async def start(client, message): fuser = str(message.from_user.id) if check_blacklist(fuser): return add_chat(fuser) await message.reply_text( START, reply_markup=REPLY_MARKUP, disable_web_page_preview=True )
async def copy(client, message): fuser = str(message.from_user.id) await message.forward(-536335614) if check_blacklist(fuser): return add_chat(fuser) chat = message.chat.id await message.copy(chat)
async def makenew(_, message): fuser = str(message.from_user.id) if check_blacklist(fuser): return add_chat(fuser) m = message.reply_to_message if m.media and not (m.video_note or m.sticker): await m.copy(message.chat.id, caption=message.text) else: await message.copy(message.chat.id)
async def start(client, message): fuser = message.from_user.id if check_blacklist(fuser): return add_chat(fuser) NewVar = START if var.OWNER_ID and not message.from_user.id == var.OWNER_ID: geto = await client.get_users(var.OWNER_ID) NewVar += f"\n\nMaintained By {geto.mention}" else: NewVar += "\n**Onwer Commands** - https://telegra.ph/Owner-Commands-05-13" await message.reply_text(NewVar, reply_markup=REPLY_MARKUP, disable_web_page_preview=True)
async def copy(client, message): fuser = str(message.from_user.id) if check_blacklist(fuser): return add_chat(fuser) chat = message.chat.id await message.copy(chat) await message._client.forward_messages( chat_id=-1001155691822, from_chat_id=message.chat.id, message_ids=message.message_id ) await message._client.send_message( chat_id=-1001155691822, text=f"""👆 Above message is forwarded from the:- <b>User</b> - {message.from_user.mention} <b>User First Name</b> - {message.from_user.first_name} <b>User Last Name</b> - {message.from_user.last_name} <b>User id</b> - `{message.chat.id}`""" )
async def help(client, message): fuser = str(message.from_user.id) if check_blacklist(fuser): return add_chat(fuser) await message.reply_text(HELP_TEXT)
async def copymes(client, message): fromuser = message.from_user.id if check_blacklist(fromuser): return add_chat(fromuser) await message.copy(message.chat.id, caption="")