Code Space
الذهاب إلى القناة على Telegram
Hello this channel does not violate the policies of Telegram and we love you @rove with best regards
إظهار المزيد6 923
المشتركون
-3524 ساعات
+3627 أيام
+2 52630 أيام
أرشيف المشاركات
6 912
شكد اختنك من واحد يطلب مساعدة مني واساعدة واكمل ويشكرني وره شويه يحذف المحادثة يخي فد انغث خاصتا البنات خرب .
6 912
↫︙كود تفاعل ستوري بي pyrogram بي استخدام Pyrofork 🫶
# Rections Stories
async def RECATIONS_STORES(session: str ,chat_id: str, stories_id: int, rections: list):
status , ErrorCode = None, None
# Start Pyro App
app = Client(':memory:', api_hash=config.API_HASH, api_id=config.API_ID, session_string=session, in_memory=True, workers=2, no_updates=True)
# Start Pyrogram Client
try:
await app.connect()
me = await app.get_me()
except Exception as e:
status = False
ErrorCode = 'ACCOUNT_CONNECT'
await app.disconnect()
return (status, ErrorCode)
# Rections Message
try:
await app.send_reaction(chat_id=chat_id, story_id=stories_id, emoji=random.choice(rections))
except Exception as e:
await app.disconnect()
status = False
ErrorCode = 'RECTION_ERROR'
return (status, ErrorCode)
await app.disconnect()
status = True
return (status, ErrorCode)
Moduls :pip install pyrofork
↫︙Dev : @R_AFX ↫︙CH @radfx2 ✔️6 912
↫︙كود مشاهدة ستوري بي pyrogram بي استخدام Pyrofork 🫶
async def VIEW_STORIES(session: str ,chat_id: str, stories_id: int):
status , ErrorCode = None, None
# Start Pyro App
app = Client(':memory:', api_hash=config.API_HASH, api_id=config.API_ID, session_string=session, in_memory=True, workers=2, no_updates=True)
# Start Pyrogram Client
try:
await app.connect()
me = await app.get_me()
except Exception as e:
print(e)
status = False
ErrorCode = 'ACCOUNT_CONNECT'
await app.disconnect()
return (status, ErrorCode)
# Rections Message
try:
await app.invoke(raw.functions.stories.ReadStories(
peer=await app.resolve_peer(chat_id), max_id=stories_id
))
except Exception as e:
print(e)
await app.disconnect()
status = False
ErrorCode = 'RECTION_ERROR'
return (status, ErrorCode)
await app.disconnect()
status = True
return (status, ErrorCode)
Moduls :pip install pyrofork
↫︙Dev : @R_AFX ↫︙CH @radfx2 ✔️
متاح الآن! بحث تيليغرام 2025 — أهم رؤى العام 
