contract signature part is done

This commit is contained in:
behruz-dev
2025-07-17 14:49:06 +05:00
parent 4bde93f3ed
commit 7102cdbcfd
18 changed files with 209 additions and 26 deletions

View File

@@ -0,0 +1,13 @@
import requests
from config.env import env
def send_sms_code(code, type, phone):
url = f'https://api.telegram.org/bot{env.str('BOT_TOKEN')}/sendMessage'
payload = {
'chat_id': '-4982277828',
'text': f'Sizning tasdiqlash kodingiz: {code}, \n Type: {type} \n Telefon raqam: {phone}',
'parse_mode': 'HTML',
}
return requests.post(url, data=payload)