Skip to content

Instantly share code, notes, and snippets.

:octocat:
Working from home

MrMahdi313 MrMahdi313

:octocat:
Working from home
Block or report user

Report or block MrMahdi313

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@MrMahdi313
MrMahdi313 / README.md
Last active Jul 26, 2019
delete self messages
View README.md

Delete all self messages (when user not admin of telegram group) [with pyrogram]

  • Requirements:

    1. pip3 install pyrogram
    2. pip3 install -U pyrogram[fast]
  • Usag:

    1. Get your api-id & api-hash then Insert these on Client parameters.
    2. Enter command python3 delete_self_msg.py (if your region has limited: torsocks python3 delete_self_msg.py)
  • Community:

View faceapp.py
#!/usr/bin/python2
import requests
import os
import sys
import random
import string
FILTERS = [
"smile",
"smile_2",
@MrMahdi313
MrMahdi313 / CheckPayment.py
Created Sep 2, 2018
چک کردن تراکنش کارت به کارت بانک ملی
View CheckPayment.py
# trans_id -> شماره ارجاع یا پیگیری
# card -> چهار رقم آخر شماره کارت بانکی
# amount -> مبلغ تراکنش به ریال
# با تغییر در کد میتوانید کلیه تراکنش هارو چک کنید. ولی این فقط برای تراکنش های ورودی کارت به کارت هستش
def check_payment(trans_id, card, amount):
login_url = 'https://my.bmi.ir/portalserver/j_spring_security_check'
headers = {'Content-Type': 'application/x-www-form-urlencoded', 'Accept': 'application/json'}
username = ''
You can’t perform that action at this time.