mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🎨 Update Client Type of Request Header
This commit is contained in:
parent
5696caf589
commit
a7eefa8c68
@ -84,7 +84,7 @@ class BaseClient:
|
|||||||
if region == types.Region.OVERSEAS:
|
if region == types.Region.OVERSEAS:
|
||||||
headers = {
|
headers = {
|
||||||
"x-rpc-app_version": "1.5.0",
|
"x-rpc-app_version": "1.5.0",
|
||||||
"x-rpc-client_type": "4",
|
"x-rpc-client_type": "5",
|
||||||
"x-rpc-language": lang,
|
"x-rpc-language": lang,
|
||||||
"ds": generate_dynamic_secret(),
|
"ds": generate_dynamic_secret(),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user