Send screenshot notification(s) to other users PMs.
#fake #prank #screenshots
©️ @UniBorg
.eval NO_OF_SCSS = 5
for I in range(NO_OF_SCSS):
await event.client(functions.messages.SendScreenshotNotificationRequest(peer=event.chat_id, reply_to_msg_id=42))
await event.delete()
#fake #prank #screenshots
©️ @UniBorg
Change the Channel Photo from a stickerpack
#channel #prank #change #picture
©️ @UniBorg
import asyncio
import os
from PIL import Image
STICKER_PACK_SHORT_NAME = "TGXUyir"
SLEEP_DELAY = 60
d = await event.client(functions.messages.GetStickerSetRequest(types.InputStickerSetShortName(STICKER_PACK_SHORT_NAME)))
for u in d.documents:
r = await event.client.download_media(u)
T = "sticker.jpg"
Image.open(r).convert("RGB").save(T, "JPEG")
os.remove(r)
t = await event.client.upload_file(T)
os.remove(T)
await event.client(functions.channels.EditPhotoRequest(channel=event.chat_id, photo=t))
await asyncio.sleep(SLEEP_DELAY)
#channel #prank #change #picture
©️ @UniBorg